﻿(function(ac,ae){function b7(b){return b8.isWindow(b)?b:b.nodeType===9?b.defaultView||b.parentWindow:!1}function b4(d){if(!a8[d]){var e=b8("<"+d+">").appendTo("body"),f=e.css("display");e.remove();if(f==="none"||f===""){f="block"}a8[d]=f}return a8[d]}function b3(d,e){var f={};b8.each(b2.concat.apply([],b2.slice(0,e)),function(){f[this]=d});return f}function a6(){try{return new ac.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}function a4(){try{return new ac.XMLHttpRequest}catch(a){}}function a2(){b8(ac).unload(function(){for(var b in aY){aY[b](0,1)}})}function aQ(b,d){b.dataFilter&&(d=b.dataFilter(d,b.dataType));var q=b.dataTypes,r={},s,t,u=q.length,v,w=q[0],x,y,z,A,B;for(s=1;s<u;s++){if(s===1){for(t in b.converters){typeof t==="string"&&(r[t.toLowerCase()]=b.converters[t])}}x=w,w=q[s];if(w==="*"){w=x}else{if(x!=="*"&&x!==w){y=x+" "+w,z=r[y]||r["* "+w];if(!z){B=ae;for(A in r){v=A.split(" ");if(v[0]===x||v[0]==="*"){B=r[v[1]+" "+w];if(B){A=r[A],A===!0?z=B:B===!0&&(z=A);break}}}}!z&&!B&&b8.error("No conversion from "+y.replace(" "," to ")),z!==!0&&(d=z?z(d):B(A(d)))}}}return d}function aO(b,l,m){var n=b.contents,o=b.dataTypes,p=b.responseFields,q,r,s,t;for(r in p){r in m&&(l[p[r]]=m[r])}while(o[0]==="*"){o.shift(),q===ae&&(q=b.mimeType||l.getResponseHeader("content-type"))}if(q){for(r in n){if(n[r]&&n[r].test(q)){o.unshift(r);break}}}if(o[0] in m){s=o[0]}else{for(r in m){if(!o[0]||b.converters[r+" "+o[0]]){s=r;break}t||(t=r)}s=s||t}if(s){s!==o[0]&&o.unshift(s);return m[s]}}function aM(d,g,h,i){if(b8.isArray(g)&&g.length){b8.each(g,function(a,c){h||aP.test(d)?i(d,c):aM(d+"["+(typeof c==="object"||b8.isArray(c)?a:"")+"]",c,h,i)})}else{if(h||g==null||typeof g!=="object"){i(d,g)}else{if(b8.isArray(g)||b8.isEmptyObject(g)){i(d,"")}else{for(var j in g){aM(d+"["+j+"]",g[j],h,i)}}}}}function aK(b,m,n,o,p,q){p=p||m.dataTypes[0],q=q||{},q[p]=!0;var r=b[p],s=0,t=r?r.length:0,u=b===ay,v;for(;s<t&&(u||!v);s++){v=r[s](m,n,o),typeof v==="string"&&(!u||q[v]?v=ae:(m.dataTypes.unshift(v),v=aK(b,m,n,o,v,q)))}(u||!v)&&!q["*"]&&(v=aK(b,m,n,o,"*",q));return v}function aI(b){return function(a,d){typeof a!=="string"&&(d=a,a="*");if(b8.isFunction(d)){var k=a.toLowerCase().split(al),l=0,m=k.length,n,o,p;for(;l<m;l++){n=k[l],p=/^\+/.test(n),p&&(n=n.substr(1)||"*"),o=b[n]=b[n]||[],o[p?"unshift":"push"](d)}}}}function aL(d,g,h){var i=g==="width"?az:aB,j=g==="width"?d.offsetWidth:d.offsetHeight;if(h==="border"){return j}b8.each(i,function(){h||(j-=parseFloat(b8.css(d,"padding"+this))||0),h==="margin"?j+=parseFloat(b8.css(d,"margin"+this))||0:j-=parseFloat(b8.css(d,"border"+this+"Width"))||0});return j}function ai(c,d){d.src?b8.ajax({url:d.src,async:!1,dataType:"script"}):b8.globalEval(d.text||d.textContent||d.innerHTML||""),d.parentNode&&d.parentNode.removeChild(d)}function ab(b){return"getElementsByTagName" in b?b.getElementsByTagName("*"):"querySelectorAll" in b?b.querySelectorAll("*"):[]}function aa(d,e){if(e.nodeType===1){var f=e.nodeName.toLowerCase();e.clearAttributes(),e.mergeAttributes(d);if(f==="object"){e.outerHTML=d.outerHTML}else{if(f!=="input"||d.type!=="checkbox"&&d.type!=="radio"){if(f==="option"){e.selected=d.defaultSelected}else{if(f==="input"||f==="textarea"){e.defaultValue=d.defaultValue}}}else{d.checked&&(e.defaultChecked=e.checked=d.checked),e.value!==d.value&&(e.value=d.value)}}e.removeAttribute(b8.expando)}}function cY(d,k){if(k.nodeType===1&&b8.hasData(d)){var l=b8.expando,m=b8.data(d),n=b8.data(k,m);if(m=m[l]){var o=m.events;n=n[l]=b8.extend({},m);if(o){delete n.handle,n.events={};for(var p in o){for(var q=0,r=o[p].length;q<r;q++){b8.event.add(k,p+(o[p][q].namespace?".":"")+o[p][q].namespace,o[p][q],o[p][q].data)}}}}}}function cW(c,d){return b8.nodeName(c,"table")?c.getElementsByTagName("tbody")[0]||c.appendChild(c.ownerDocument.createElement("tbody")):c}function cC(d,f,g){if(b8.isFunction(f)){return b8.grep(d,function(b,c){var i=!!f.call(b,c,b);return i===g})}if(f.nodeType){return b8.grep(d,function(b,c){return b===f===g})}if(typeof f==="string"){var h=b8.grep(d,function(b){return b.nodeType===1});if(cs.test(f)){return b8.filter(f,h,!g)}f=b8.filter(f,h)}return b8.grep(d,function(b,c){return b8.inArray(b,f)>=0===g})}function cA(b){return !b||!b.parentNode||b.parentNode.nodeType===11}function ck(c,d){return(c&&c!=="*"?c+".":"")+d.replace(cH,"`").replace(cJ,"&")}function ci(d){var p,u,v,w,x,y,z,A,B,C,D,E,F,G=[],H=[],I=b8._data(this,"events");if(d.liveFired!==this&&I&&I.live&&!d.target.disabled&&(!d.button||d.type!=="click")){d.namespace&&(E=new RegExp("(^|\\.)"+d.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),d.liveFired=this;var J=I.live.slice(0);for(z=0;z<J.length;z++){x=J[z],x.origType.replace(cD,"")===d.type?H.push(x.selector):J.splice(z--,1)}w=b8(d.target).closest(H,d.currentTarget);for(A=0,B=w.length;A<B;A++){D=w[A];for(z=0;z<J.length;z++){x=J[z];if(D.selector===x.selector&&(!E||E.test(x.namespace))&&!D.elem.disabled){y=D.elem,v=null;if(x.preType==="mouseenter"||x.preType==="mouseleave"){d.type=x.preType,v=b8(d.relatedTarget).closest(x.selector)[0]}(!v||v!==y)&&G.push({elem:y,handleObj:x,level:D.level})}}}for(A=0,B=G.length;A<B;A++){w=G[A];if(u&&w.level>u){break}d.currentTarget=w.elem,d.data=w.handleObj.data,d.handleObj=w.handleObj,F=w.handleObj.origHandler.apply(w.elem,arguments);if(F===!1||d.isPropagationStopped()){u=w.level,F===!1&&(p=!1);if(d.isImmediatePropagationStopped()){break}}}return p}}function b0(b,d,g){var h=b8.extend({},g[0]);h.type=b,h.originalEvent={},h.liveFired=ae,b8.event.handle.call(d,h),h.isDefaultPrevented()&&g[0].preventDefault()}function cR(){return !0}function cP(){return !1}function cl(c){for(var d in c){if(d!=="toJSON"){return !1}}return !0}function cj(b,d,e){if(e===ae&&b.nodeType===1){e=b.getAttribute("data-"+d);if(typeof e==="string"){try{e=e==="true"?!0:e==="false"?!1:e==="null"?null:b8.isNaN(e)?ch.test(e)?b8.parseJSON(e):e:parseFloat(e)}catch(h){}b8.data(b,d,e)}else{e=ae}}return e}var a9=ac.document,b8=function(){function U(){if(!J.isReady){try{a9.documentElement.doScroll("left")}catch(d){setTimeout(U,1);return}J.ready()}}var J=function(d,e){return new J.fn.init(d,e,P)},L=ac.jQuery,N=ac.$,P,R=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,T=/\S/,V=/^\s+/,W=/\s+$/,X=/\d/,Y=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,Z=/^[\],:{}\s]*$/,ba=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bb=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bc=/(?:^|:|,)(?:\s*\[)+/g,bd=/(webkit)[ \/]([\w.]+)/,be=/(opera)(?:.*version)?[ \/]([\w.]+)/,bf=/(msie) ([\w.]+)/,bg=/(mozilla)(?:.*? rv:([\w.]+))?/,bh=navigator.userAgent,bi,bj=!1,bk,bl="then done fail isResolved isRejected promise".split(" "),a,b=Object.prototype.toString,c=Object.prototype.hasOwnProperty,K=Array.prototype.push,M=Array.prototype.slice,O=String.prototype.trim,Q=Array.prototype.indexOf,S={};J.fn=J.prototype={constructor:J,init:function(d,h,l){var m,n,o,p;if(!d){return this}if(d.nodeType){this.context=this[0]=d,this.length=1;return this}if(d==="body"&&!h&&a9.body){this.context=a9,this[0]=a9.body,this.selector="body",this.length=1;return this}if(typeof d==="string"){m=R.exec(d);if(!m||!m[1]&&h){return !h||h.jquery?(h||l).find(d):this.constructor(h).find(d)}if(m[1]){h=h instanceof J?h[0]:h,p=h?h.ownerDocument||h:a9,o=Y.exec(d),o?J.isPlainObject(h)?(d=[a9.createElement(o[1])],J.fn.attr.call(d,h,!0)):d=[p.createElement(o[1])]:(o=J.buildFragment([m[1]],[p]),d=(o.cacheable?J.clone(o.fragment):o.fragment).childNodes);return J.merge(this,d)}n=a9.getElementById(m[2]);if(n&&n.parentNode){if(n.id!==m[2]){return l.find(d)}this.length=1,this[0]=n}this.context=a9,this.selector=d;return this}if(J.isFunction(d)){return l.ready(d)}d.selector!==ae&&(this.selector=d.selector,this.context=d.context);return J.makeArray(d,this)},selector:"",jquery:"1.5.1",length:0,size:function(){return this.length},toArray:function(){return M.call(this,0)},get:function(d){return d==null?this.toArray():d<0?this[this.length+d]:this[d]},pushStack:function(d,f,g){var h=this.constructor();J.isArray(d)?K.apply(h,d):J.merge(h,d),h.prevObject=this,h.context=this.context,f==="find"?h.selector=this.selector+(this.selector?" ":"")+g:f&&(h.selector=this.selector+"."+f+"("+g+")");return h},each:function(d,e){return J.each(this,d,e)},ready:function(d){J.bindReady(),bk.done(d);return this},eq:function(d){return d===-1?this.slice(d):this.slice(d,+d+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(M.apply(this,arguments),"slice",M.call(arguments).join(","))},map:function(d){return this.pushStack(J.map(this,function(e,f){return d.call(e,f,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:K,sort:[].sort,splice:[].splice},J.fn.init.prototype=J.fn,J.extend=J.fn.extend=function(){var d,m,n,o,p,q,r=arguments[0]||{},s=1,t=arguments.length,u=!1;typeof r==="boolean"&&(u=r,r=arguments[1]||{},s=2),typeof r!=="object"&&!J.isFunction(r)&&(r={}),t===s&&(r=this,--s);for(;s<t;s++){if((d=arguments[s])!=null){for(m in d){n=r[m],o=d[m];if(r===o){continue}u&&o&&(J.isPlainObject(o)||(p=J.isArray(o)))?(p?(p=!1,q=n&&J.isArray(n)?n:[]):q=n&&J.isPlainObject(n)?n:{},r[m]=J.extend(u,q,o)):o!==ae&&(r[m]=o)}}}return r},J.extend({noConflict:function(d){ac.$=N,d&&(ac.jQuery=L);return J},isReady:!1,readyWait:1,ready:function(d){d===!0&&J.readyWait--;if(!J.readyWait||d!==!0&&!J.isReady){if(!a9.body){return setTimeout(J.ready,1)}J.isReady=!0;if(d!==!0&&--J.readyWait>0){return}bk.resolveWith(a9,[J]),J.fn.trigger&&J(a9).trigger("ready").unbind("ready")}},bindReady:function(){if(!bj){bj=!0;if(a9.readyState==="complete"){return setTimeout(J.ready,1)}if(a9.addEventListener){a9.addEventListener("DOMContentLoaded",a,!1),ac.addEventListener("load",J.ready,!1)}else{if(a9.attachEvent){a9.attachEvent("onreadystatechange",a),ac.attachEvent("onload",J.ready);var d=!1;try{d=ac.frameElement==null}catch(f){}a9.documentElement.doScroll&&d&&U()}}}},isFunction:function(d){return J.type(d)==="function"},isArray:Array.isArray||function(d){return J.type(d)==="array"},isWindow:function(d){return d&&typeof d==="object"&&"setInterval" in d},isNaN:function(d){return d==null||!X.test(d)||isNaN(d)},type:function(d){return d==null?String(d):S[b.call(d)]||"object"},isPlainObject:function(d){if(!d||J.type(d)!=="object"||d.nodeType||J.isWindow(d)){return !1}if(d.constructor&&!c.call(d,"constructor")&&!c.call(d.constructor.prototype,"isPrototypeOf")){return !1}var e;for(e in d){}return e===ae||c.call(d,e)},isEmptyObject:function(d){for(var e in d){return !1}return !0},error:function(d){throw d},parseJSON:function(d){if(typeof d!=="string"||!d){return null}d=J.trim(d);if(Z.test(d.replace(ba,"@").replace(bb,"]").replace(bc,""))){return ac.JSON&&ac.JSON.parse?ac.JSON.parse(d):(new Function("return "+d))()}J.error("Invalid JSON: "+d)},parseXML:function(d,f,g){ac.DOMParser?(g=new DOMParser,f=g.parseFromString(d,"text/xml")):(f=new ActiveXObject("Microsoft.XMLDOM"),f.async="false",f.loadXML(d)),g=f.documentElement,(!g||!g.nodeName||g.nodeName==="parsererror")&&J.error("Invalid XML: "+d);return f},noop:function(){},globalEval:function(d){if(d&&T.test(d)){var f=a9.head||a9.getElementsByTagName("head")[0]||a9.documentElement,g=a9.createElement("script");J.support.scriptEval()?g.appendChild(a9.createTextNode(d)):g.text=d,f.insertBefore(g,f.firstChild),f.removeChild(g)}},nodeName:function(d,e){return d.nodeName&&d.nodeName.toUpperCase()===e.toUpperCase()},each:function(d,k,l){var m,n=0,o=d.length,p=o===ae||J.isFunction(d);if(l){if(p){for(m in d){if(k.apply(d[m],l)===!1){break}}}else{for(;n<o;){if(k.apply(d[n++],l)===!1){break}}}}else{if(p){for(m in d){if(k.call(d[m],m,d[m])===!1){break}}}else{for(var q=d[0];n<o&&k.call(q,n,q)!==!1;q=d[++n]){}}}return d},trim:O?function(d){return d==null?"":O.call(d)}:function(d){return d==null?"":(d+"").replace(V,"").replace(W,"")},makeArray:function(d,f){var g=f||[];if(d!=null){var h=J.type(d);d.length==null||h==="string"||h==="function"||h==="regexp"||J.isWindow(d)?K.call(g,d):J.merge(g,d)}return g},inArray:function(e,f){if(f.indexOf){return f.indexOf(e)}for(var g=0,h=f.length;g<h;g++){if(f[g]===e){return g}}return -1},merge:function(g,h){var i=g.length,j=0;if(typeof h.length==="number"){for(var k=h.length;j<k;j++){g[i++]=h[j]}}else{while(h[j]!==ae){g[i++]=h[j++]}}g.length=i;return g},grep:function(h,i,j){var k=[],l;j=!!j;for(var m=0,n=h.length;m<n;m++){l=!!i(h[m],m),j!==l&&k.push(h[m])}return k},map:function(h,i,j){var k=[],l;for(var m=0,n=h.length;m<n;m++){l=i(h[m],m,j),l!=null&&(k[k.length]=l)}return k.concat.apply([],k)},guid:1,proxy:function(d,f,g){arguments.length===2&&(typeof f==="string"?(g=d,d=g[f],f=ae):f&&!J.isFunction(f)&&(g=f,f=ae)),!f&&d&&(f=function(){return d.apply(g||this,arguments)}),d&&(f.guid=d.guid=d.guid||f.guid||J.guid++);return f},access:function(d,l,m,n,o,p){var q=d.length;if(typeof l==="object"){for(var r in l){J.access(d,r,l[r],n,o,m)}return d}if(m!==ae){n=!p&&n&&J.isFunction(m);for(var s=0;s<q;s++){o(d[s],l,n?m.call(d[s],s,o(d[s],l)):m,p)}return d}return q?o(d[0],l):ae},now:function(){return(new Date).getTime()},_Deferred:function(){var d=[],g,h,i,j={done:function(){if(!i){var e=arguments,f,l,m,n,o;g&&(o=g,g=0);for(f=0,l=e.length;f<l;f++){m=e[f],n=J.type(m),n==="array"?j.done.apply(j,m):n==="function"&&d.push(m)}o&&j.resolveWith(o[0],o[1])}return this},resolveWith:function(e,k){if(!i&&!g&&!h){h=1;try{while(d[0]){d.shift().apply(e,k)}}catch(l){throw l}finally{g=[e,k],h=0}}return this},resolve:function(){j.resolveWith(J.isFunction(this.promise)?this.promise():this,arguments);return this},isResolved:function(){return h||g},cancel:function(){i=1,d=[];return this}};return j},Deferred:function(d){var f=J._Deferred(),g=J._Deferred(),h;J.extend(f,{then:function(e,i){f.done(e).fail(i);return this},fail:g.done,rejectWith:g.resolveWith,reject:g.resolve,isRejected:g.isResolved,promise:function(e){if(e==null){if(h){return h}h=e={}}var i=bl.length;while(i--){e[bl[i]]=f[bl[i]]}return e}}),f.done(g.cancel).fail(f.cancel),delete f.cancel,d&&d.call(f,f);return f},when:function(d){var i=arguments.length,j=i<=1&&d&&J.isFunction(d.promise)?d:J.Deferred(),k=j.promise();if(i>1){var l=M.call(arguments,0),m=i,n=function(e){return function(f){l[e]=arguments.length>1?M.call(arguments,0):f,--m||j.resolveWith(k,l)}};while(i--){d=l[i],d&&J.isFunction(d.promise)?d.promise().then(n(i),j.reject):--m}m||j.resolveWith(k,l)}else{j!==d&&j.resolve(d)}return k},uaMatch:function(d){d=d.toLowerCase();var e=bd.exec(d)||be.exec(d)||bf.exec(d)||d.indexOf("compatible")<0&&bg.exec(d)||[];return{browser:e[1]||"",version:e[2]||"0"}},sub:function(){function d(e,h){return new d.fn.init(e,h)}J.extend(!0,d,this),d.superclass=this,d.fn=d.prototype=this(),d.fn.constructor=d,d.subclass=this.subclass,d.fn.init=function f(e,h){h&&h instanceof J&&!(h instanceof d)&&(h=d(h));return J.fn.init.call(this,e,h,g)},d.fn.init.prototype=d.fn;var g=d(a9);return d},browser:{}}),bk=J._Deferred(),J.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(d,e){S["[object "+e+"]"]=e.toLowerCase()}),bi=J.uaMatch(bh),bi.browser&&(J.browser[bi.browser]=!0,J.browser.version=bi.version),J.browser.webkit&&(J.browser.safari=!0),Q&&(J.inArray=function(d,e){return Q.call(e,d)}),T.test(" ")&&(V=/^[\s\xA0]+/,W=/[\s\xA0]+$/),P=J(a9),a9.addEventListener?a=function(){a9.removeEventListener("DOMContentLoaded",a,!1),J.ready()}:a9.attachEvent&&(a=function(){a9.readyState==="complete"&&(a9.detachEvent("onreadystatechange",a),J.ready())});return J}();(function(){b8.support={};var a=a9.createElement("div");a.style.display="none",a.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var c=a.getElementsByTagName("*"),d=a.getElementsByTagName("a")[0],o=a9.createElement("select"),p=o.appendChild(a9.createElement("option")),q=a.getElementsByTagName("input")[0];if(c&&c.length&&d){b8.support={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/red/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.55$/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:q.value==="on",optSelected:p.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,noCloneChecked:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0},q.checked=!0,b8.support.noCloneChecked=q.cloneNode(!0).checked,o.disabled=!0,b8.support.optDisabled=!p.disabled;var r=null;b8.support.scriptEval=function(){if(r===null){var h=a9.documentElement,i=a9.createElement("script"),j="script"+b8.now();try{i.appendChild(a9.createTextNode("window."+j+"=1;"))}catch(k){}h.insertBefore(i,h.firstChild),ac[j]?(r=!0,delete ac[j]):r=!1,h.removeChild(i),h=i=j=null}return r};try{delete a.test}catch(s){b8.support.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function t(){b8.support.noCloneEvent=!1,a.detachEvent("onclick",t)}),a.cloneNode(!0).fireEvent("onclick")),a=a9.createElement("div"),a.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var u=a9.createDocumentFragment();u.appendChild(a.firstChild),b8.support.checkClone=u.cloneNode(!0).cloneNode(!0).lastChild.checked,b8(function(){var f=a9.createElement("div"),g=a9.getElementsByTagName("body")[0];if(g){f.style.width=f.style.paddingLeft="1px",g.appendChild(f),b8.boxModel=b8.support.boxModel=f.offsetWidth===2,"zoom" in f.style&&(f.style.display="inline",f.style.zoom=1,b8.support.inlineBlockNeedsLayout=f.offsetWidth===2,f.style.display="",f.innerHTML="<div style='width:4px;'></div>",b8.support.shrinkWrapBlocks=f.offsetWidth!==2),f.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var h=f.getElementsByTagName("td");b8.support.reliableHiddenOffsets=h[0].offsetHeight===0,h[0].style.display="",h[1].style.display="none",b8.support.reliableHiddenOffsets=b8.support.reliableHiddenOffsets&&h[0].offsetHeight===0,f.innerHTML="",g.removeChild(f).style.display="none",f=h=null}});var v=function(e){var f=a9.createElement("div");e="on"+e;if(!f.attachEvent){return !0}var g=e in f;g||(f.setAttribute(e,"return;"),g=typeof f[e]==="function"),f=null;return g};b8.support.submitBubbles=v("submit"),b8.support.changeBubbles=v("change"),a=c=d=null}})();var ch=/^(?:\{.*\}|\[.*\])$/;b8.extend({cache:{},uuid:0,expando:"jQuery"+(b8.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(b){b=b.nodeType?b8.cache[b[b8.expando]]:b[b8.expando];return !!b&&!cl(b)},data:function(b,d,m,n){if(b8.acceptData(b)){var o=b8.expando,p=typeof d==="string",q,r=b.nodeType,s=r?b8.cache:b,t=r?b[b8.expando]:b[b8.expando]&&b8.expando;if((!t||n&&t&&!s[t][o])&&p&&m===ae){return}t||(r?b[b8.expando]=t=++b8.uuid:t=b8.expando),s[t]||(s[t]={},r||(s[t].toJSON=b8.noop));if(typeof d==="object"||typeof d==="function"){n?s[t][o]=b8.extend(s[t][o],d):s[t]=b8.extend(s[t],d)}q=s[t],n&&(q[o]||(q[o]={}),q=q[o]),m!==ae&&(q[d]=m);if(d==="events"&&!q[d]){return q[o]&&q[o].events}return p?q[d]:q}},removeData:function(a,d,g){if(b8.acceptData(a)){var m=b8.expando,n=a.nodeType,o=n?b8.cache:a,p=n?a[b8.expando]:b8.expando;if(!o[p]){return}if(d){var q=g?o[p][m]:o[p];if(q){delete q[d];if(!cl(q)){return}}}if(g){delete o[p][m];if(!cl(o[p])){return}}var r=o[p][m];b8.support.deleteExpando||o!=ac?delete o[p]:o[p]=null,r?(o[p]={},n||(o[p].toJSON=b8.noop),o[p][m]=r):n&&(b8.support.deleteExpando?delete a[b8.expando]:a.removeAttribute?a.removeAttribute(b8.expando):a[b8.expando]=null)}},_data:function(d,e,f){return b8.data(d,e,f,!0)},acceptData:function(c){if(c.nodeName){var d=b8.noData[c.nodeName.toLowerCase()];if(d){return d!==!0&&c.getAttribute("classid")===d}}return !0}}),b8.fn.extend({data:function(b,d){var f=null;if(typeof b==="undefined"){if(this.length){f=b8.data(this[0]);if(this[0].nodeType===1){var l=this[0].attributes,m;for(var n=0,o=l.length;n<o;n++){m=l[n].name,m.indexOf("data-")===0&&(m=m.substr(5),cj(this[0],m,f[m]))}}}return f}if(typeof b==="object"){return this.each(function(){b8.data(this,b)})}var p=b.split(".");p[1]=p[1]?"."+p[1]:"";if(d===ae){f=this.triggerHandler("getData"+p[1]+"!",[p[0]]),f===ae&&this.length&&(f=b8.data(this[0],b),f=cj(this[0],b,f));return f===ae&&p[1]?this.data(p[0]):f}return this.each(function(){var a=b8(this),c=[p[0],d];a.triggerHandler("setData"+p[1]+"!",c),b8.data(this,b,d),a.triggerHandler("changeData"+p[1]+"!",c)})},removeData:function(b){return this.each(function(){b8.removeData(this,b)})}}),b8.extend({queue:function(d,f,g){if(d){f=(f||"fx")+"queue";var h=b8._data(d,f);if(!g){return h||[]}!h||b8.isArray(g)?h=b8._data(d,f,b8.makeArray(g)):h.push(g);return h}},dequeue:function(d,f){f=f||"fx";var g=b8.queue(d,f),h=g.shift();h==="inprogress"&&(h=g.shift()),h&&(f==="fx"&&g.unshift("inprogress"),h.call(d,function(){b8.dequeue(d,f)})),g.length||b8.removeData(d,f+"queue",!0)}}),b8.fn.extend({queue:function(b,d){typeof b!=="string"&&(d=b,b="fx");if(d===ae){return b8.queue(this[0],b)}return this.each(function(a){var c=b8.queue(this,b,d);b==="fx"&&c[0]!=="inprogress"&&b8.dequeue(this,b)})},dequeue:function(b){return this.each(function(){b8.dequeue(this,b)})},delay:function(c,d){c=b8.fx?b8.fx.speeds[c]||c:c,d=d||"fx";return this.queue(d,function(){var a=this;setTimeout(function(){b8.dequeue(a,d)},c)})},clearQueue:function(b){return this.queue(b||"fx",[])}});var cn=/[\n\t\r]/g,cp=/\s+/,cr=/\r/g,ct=/^(?:href|src|style)$/,cv=/^(?:button|input)$/i,cx=/^(?:button|input|object|select|textarea)$/i,cz=/^a(?:rea)?$/i,cB=/^(?:radio|checkbox)$/i;b8.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"},b8.fn.extend({attr:function(c,d){return b8.access(this,c,d,!0,b8.attr)},removeAttr:function(c,d){return this.each(function(){b8.attr(this,c,""),this.nodeType===1&&this.removeAttribute(c)})},addClass:function(d){if(b8.isFunction(d)){return this.each(function(a){var e=b8(this);e.addClass(d.call(this,a,e.attr("class")))})}if(d&&typeof d==="string"){var i=(d||"").split(cp);for(var l=0,m=this.length;l<m;l++){var n=this[l];if(n.nodeType===1){if(n.className){var o=" "+n.className+" ",p=n.className;for(var q=0,r=i.length;q<r;q++){o.indexOf(" "+i[q]+" ")<0&&(p+=" "+i[q])}n.className=b8.trim(p)}else{n.className=d}}}}return this},removeClass:function(b){if(b8.isFunction(b)){return this.each(function(a){var e=b8(this);e.removeClass(b.call(this,a,e.attr("class")))})}if(b&&typeof b==="string"||b===ae){var d=(b||"").split(cp);for(var h=0,i=this.length;h<i;h++){var m=this[h];if(m.nodeType===1&&m.className){if(b){var n=(" "+m.className+" ").replace(cn," ");for(var o=0,p=d.length;o<p;o++){n=n.replace(" "+d[o]+" "," ")}m.className=b8.trim(n)}else{m.className=""}}}}return this},toggleClass:function(d,f){var g=typeof d,h=typeof f==="boolean";if(b8.isFunction(d)){return this.each(function(a){var b=b8(this);b.toggleClass(d.call(this,a,b.attr("class"),f),f)})}return this.each(function(){if(g==="string"){var a,b=0,c=b8(this),e=f,i=d.split(cp);while(a=i[b++]){e=h?e:!c.hasClass(a),c[e?"addClass":"removeClass"](a)}}else{if(g==="undefined"||g==="boolean"){this.className&&b8._data(this,"__className__",this.className),this.className=this.className||d===!1?"":b8._data(this,"__className__")||""}}})},hasClass:function(e){var f=" "+e+" ";for(var g=0,h=this.length;g<h;g++){if((" "+this[g].className+" ").replace(cn," ").indexOf(f)>-1){return !0}}return !1},val:function(b){if(!arguments.length){var d=this[0];if(d){if(b8.nodeName(d,"option")){var j=d.attributes.value;return !j||j.specified?d.value:d.text}if(b8.nodeName(d,"select")){var o=d.selectedIndex,p=[],q=d.options,r=d.type==="select-one";if(o<0){return null}for(var s=r?o:0,t=r?o+1:q.length;s<t;s++){var u=q[s];if(u.selected&&(b8.support.optDisabled?!u.disabled:u.getAttribute("disabled")===null)&&(!u.parentNode.disabled||!b8.nodeName(u.parentNode,"optgroup"))){b=b8(u).val();if(r){return b}p.push(b)}}if(r&&!p.length&&q.length){return b8(q[o]).val()}return p}if(cB.test(d.type)&&!b8.support.checkOn){return d.getAttribute("value")===null?"on":d.value}return(d.value||"").replace(cr,"")}return ae}var v=b8.isFunction(b);return this.each(function(a){var g=b8(this),h=b;if(this.nodeType===1){v&&(h=b.call(this,a,g.val())),h==null?h="":typeof h==="number"?h+="":b8.isArray(h)&&(h=b8.map(h,function(c){return c==null?"":c+""}));if(b8.isArray(h)&&cB.test(this.type)){this.checked=b8.inArray(g.val(),h)>=0}else{if(b8.nodeName(this,"select")){var i=b8.makeArray(h);b8("option",this).each(function(){this.selected=b8.inArray(b8(this).val(),i)>=0}),i.length||(this.selectedIndex=-1)}else{this.value=h}}}})}}),b8.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(b,d,k,l){if(!b||b.nodeType===3||b.nodeType===8||b.nodeType===2){return ae}if(l&&d in b8.attrFn){return b8(b)[d](k)}var m=b.nodeType!==1||!b8.isXMLDoc(b),n=k!==ae;d=m&&b8.props[d]||d;if(b.nodeType===1){var q=ct.test(d);if(d==="selected"&&!b8.support.optSelected){var r=b.parentNode;r&&(r.selectedIndex,r.parentNode&&r.parentNode.selectedIndex)}if((d in b||b[d]!==ae)&&m&&!q){n&&(d==="type"&&cv.test(b.nodeName)&&b.parentNode&&b8.error("type property can't be changed"),k===null?b.nodeType===1&&b.removeAttribute(d):b[d]=k);if(b8.nodeName(b,"form")&&b.getAttributeNode(d)){return b.getAttributeNode(d).nodeValue}if(d==="tabIndex"){var s=b.getAttributeNode("tabIndex");return s&&s.specified?s.value:cx.test(b.nodeName)||cz.test(b.nodeName)&&b.href?0:ae}return b[d]}if(!b8.support.style&&m&&d==="style"){n&&(b.style.cssText=""+k);return b.style.cssText}n&&b.setAttribute(d,""+k);if(!b.attributes[d]&&(b.hasAttribute&&!b.hasAttribute(d))){return ae}var t=!b8.support.hrefNormalized&&m&&q?b.getAttribute(d,2):b.getAttribute(d);return t===null?ae:t}n&&(b[d]=k);return b[d]}});var cD=/\.(.*)$/,cF=/^(?:textarea|input|select)$/i,cH=/\./g,cJ=/ /g,cL=/[^\w\s.|`]/g,cN=function(b){return b.replace(cL,"\\$&")};b8.event={add:function(a,b,d,s){if(a.nodeType!==3&&a.nodeType!==8){try{b8.isWindow(a)&&(a!==ac&&!a.frameElement)&&(a=ac)}catch(t){}if(d===!1){d=cP}else{if(!d){return}}var u,v;d.handler&&(u=d,d=u.handler),d.guid||(d.guid=b8.guid++);var w=b8._data(a);if(!w){return}var x=w.events,y=w.handle;x||(w.events=x={}),y||(w.handle=y=function(){return typeof b8!=="undefined"&&!b8.event.triggered?b8.event.handle.apply(y.elem,arguments):ae}),y.elem=a,b=b.split(" ");var z,A=0,B;while(z=b[A++]){v=u?b8.extend({},u):{handler:d,data:s},z.indexOf(".")>-1?(B=z.split("."),z=B.shift(),v.namespace=B.slice(0).sort().join(".")):(B=[],v.namespace=""),v.type=z,v.guid||(v.guid=d.guid);var C=x[z],D=b8.event.special[z]||{};if(!C){C=x[z]=[];if(!D.setup||D.setup.call(a,s,B,y)===!1){a.addEventListener?a.addEventListener(z,y,!1):a.attachEvent&&a.attachEvent("on"+z,y)}}D.add&&(D.add.call(a,v),v.handler.guid||(v.handler.guid=d.guid)),C.push(v),b8.event.global[z]=!0}a=null}},global:{},remove:function(b,d,u,v){if(b.nodeType!==3&&b.nodeType!==8){u===!1&&(u=cP);var x,y,z,A,B=0,C,D,E,F,G,H,I,J=b8.hasData(b)&&b8._data(b),K=J&&J.events;if(!J||!K){return}d&&d.type&&(u=d.handler,d=d.type);if(!d||typeof d==="string"&&d.charAt(0)==="."){d=d||"";for(y in K){b8.event.remove(b,y+d)}return}d=d.split(" ");while(y=d[B++]){I=y,H=null,C=y.indexOf(".")<0,D=[],C||(D=y.split("."),y=D.shift(),E=new RegExp("(^|\\.)"+b8.map(D.slice(0).sort(),cN).join("\\.(?:.*\\.)?")+"(\\.|$)")),G=K[y];if(!G){continue}if(!u){for(A=0;A<G.length;A++){H=G[A];if(C||E.test(H.namespace)){b8.event.remove(b,I,H.handler,A),G.splice(A--,1)}}continue}F=b8.event.special[y]||{};for(A=v||0;A<G.length;A++){H=G[A];if(u.guid===H.guid){if(C||E.test(H.namespace)){v==null&&G.splice(A--,1),F.remove&&F.remove.call(b,H)}if(v!=null){break}}}if(G.length===0||v!=null&&G.length===1){(!F.teardown||F.teardown.call(b,D)===!1)&&b8.removeEvent(b,y,J.handle),x=null,delete K[y]}}if(b8.isEmptyObject(K)){var L=J.handle;L&&(L.elem=null),delete J.events,delete J.handle,b8.isEmptyObject(J)&&b8.removeData(b,ae,!0)}}},trigger:function(b,d,p){var r=b.type||b,s=arguments[3];if(!s){b=typeof b==="object"?b[b8.expando]?b:b8.extend(b8.Event(r),b):b8.Event(r),r.indexOf("!")>=0&&(b.type=r=r.slice(0,-1),b.exclusive=!0),p||(b.stopPropagation(),b8.event.global[r]&&b8.each(b8.cache,function(){var a=b8.expando,c=this[a];c&&c.events&&c.events[r]&&b8.event.trigger(b,d,c.handle.elem)}));if(!p||p.nodeType===3||p.nodeType===8){return ae}b.result=ae,b.target=p,d=b8.makeArray(d),d.unshift(b)}b.currentTarget=p;var t=b8._data(p,"handle");t&&t.apply(p,d);var u=p.parentNode||p.ownerDocument;try{p&&p.nodeName&&b8.noData[p.nodeName.toLowerCase()]||p["on"+r]&&p["on"+r].apply(p,d)===!1&&(b.result=!1,b.preventDefault())}catch(v){}if(!b.isPropagationStopped()&&u){b8.event.trigger(b,d,u,!0)}else{if(!b.isDefaultPrevented()){var w,x=b.target,y=r.replace(cD,""),z=b8.nodeName(x,"a")&&y==="click",A=b8.event.special[y]||{};if((!A._default||A._default.call(p,b)===!1)&&!z&&!(x&&x.nodeName&&b8.noData[x.nodeName.toLowerCase()])){try{x[y]&&(w=x["on"+y],w&&(x["on"+y]=null),b8.event.triggered=!0,x[y]())}catch(B){}w&&(x["on"+y]=w),b8.event.triggered=!1}}}},handle:function(a){var b,d,p,q,r,s=[],t=b8.makeArray(arguments);a=t[0]=b8.event.fix(a||ac.event),a.currentTarget=this,b=a.type.indexOf(".")<0&&!a.exclusive,b||(p=a.type.split("."),a.type=p.shift(),s=p.slice(0).sort(),q=new RegExp("(^|\\.)"+s.join("\\.(?:.*\\.)?")+"(\\.|$)")),a.namespace=a.namespace||s.join("."),r=b8._data(this,"events"),d=(r||{})[a.type];if(r&&d){d=d.slice(0);for(var u=0,v=d.length;u<v;u++){var w=d[u];if(b||q.test(w.namespace)){a.handler=w.handler,a.data=w.data,a.handleObj=w;var x=w.handler.apply(this,t);x!==ae&&(a.result=x,x===!1&&(a.preventDefault(),a.stopPropagation()));if(a.isImmediatePropagationStopped()){break}}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(b){if(b[b8.expando]){return b}var c=b;b=b8.Event(c);for(var d=this.props.length,j;d;){j=this.props[--d],b[j]=c[j]}b.target||(b.target=b.srcElement||a9),b.target.nodeType===3&&(b.target=b.target.parentNode),!b.relatedTarget&&b.fromElement&&(b.relatedTarget=b.fromElement===b.target?b.toElement:b.fromElement);if(b.pageX==null&&b.clientX!=null){var k=a9.documentElement,l=a9.body;b.pageX=b.clientX+(k&&k.scrollLeft||l&&l.scrollLeft||0)-(k&&k.clientLeft||l&&l.clientLeft||0),b.pageY=b.clientY+(k&&k.scrollTop||l&&l.scrollTop||0)-(k&&k.clientTop||l&&l.clientTop||0)}b.which==null&&(b.charCode!=null||b.keyCode!=null)&&(b.which=b.charCode!=null?b.charCode:b.keyCode),!b.metaKey&&b.ctrlKey&&(b.metaKey=b.ctrlKey),!b.which&&b.button!==ae&&(b.which=b.button&1?1:b.button&2?3:b.button&4?2:0);return b},guid:100000000,proxy:b8.proxy,special:{ready:{setup:b8.bindReady,teardown:b8.noop},live:{add:function(b){b8.event.add(this,ck(b.origType,b.selector),b8.extend({},b,{handler:ci,guid:b.handler.guid}))},remove:function(b){b8.event.remove(this,ck(b.origType,b.selector),b)}},beforeunload:{setup:function(d,e,f){b8.isWindow(this)&&(this.onbeforeunload=f)},teardown:function(c,d){this.onbeforeunload===d&&(this.onbeforeunload=null)}}}},b8.removeEvent=a9.removeEventListener?function(d,e,f){d.removeEventListener&&d.removeEventListener(e,f,!1)}:function(d,e,f){d.detachEvent&&d.detachEvent("on"+e,f)},b8.Event=function(b){if(!this.preventDefault){return new b8.Event(b)}b&&b.type?(this.originalEvent=b,this.type=b.type,this.isDefaultPrevented=b.defaultPrevented||b.returnValue===!1||b.getPreventDefault&&b.getPreventDefault()?cR:cP):this.type=b,this.timeStamp=b8.now(),this[b8.expando]=!0},b8.Event.prototype={preventDefault:function(){this.isDefaultPrevented=cR;var b=this.originalEvent;b&&(b.preventDefault?b.preventDefault():b.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=cR;var b=this.originalEvent;b&&(b.stopPropagation&&b.stopPropagation(),b.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=cR,this.stopPropagation()},isDefaultPrevented:cP,isPropagationStopped:cP,isImmediatePropagationStopped:cP};var cT=function(c){var d=c.relatedTarget;try{if(d!==a9&&!d.parentNode){return}while(d&&d!==this){d=d.parentNode}d!==this&&(c.type=c.data,b8.event.handle.apply(this,arguments))}catch(f){}},cV=function(b){b.type=b.data,b8.event.handle.apply(this,arguments)};b8.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(c,d){b8.event.special[c]={setup:function(a){b8.event.add(this,d,a&&a.selector?cV:cT,c)},teardown:function(b){b8.event.remove(this,d,b&&b.selector?cV:cT)}}}),b8.support.submitBubbles||(b8.event.special.submit={setup:function(c,d){if(this.nodeName&&this.nodeName.toLowerCase()!=="form"){b8.event.add(this,"click.specialSubmit",function(e){var f=e.target,g=f.type;(g==="submit"||g==="image")&&b8(f).closest("form").length&&b0("submit",this,arguments)}),b8.event.add(this,"keypress.specialSubmit",function(e){var f=e.target,g=f.type;(g==="text"||g==="password")&&b8(f).closest("form").length&&e.keyCode===13&&b0("submit",this,arguments)})}else{return !1}},teardown:function(b){b8.event.remove(this,".specialSubmit")}});if(!b8.support.changeBubbles){var cX,ad=function(d){var e=d.type,f=d.value;e==="radio"||e==="checkbox"?f=d.checked:e==="select-multiple"?f=d.selectedIndex>-1?b8.map(d.options,function(b){return b.selected}).join("-"):"":d.nodeName.toLowerCase()==="select"&&(f=d.selectedIndex);return f},af=function af(b){var d=b.target,g,h;if(cF.test(d.nodeName)&&!d.readOnly){g=b8._data(d,"_change_data"),h=ad(d),(b.type!=="focusout"||d.type!=="radio")&&b8._data(d,"_change_data",h);if(g===ae||h===g){return}if(g!=null||h){b.type="change",b.liveFired=ae,b8.event.trigger(b,arguments[1],d)}}};b8.event.special.change={filters:{focusout:af,beforedeactivate:af,click:function(d){var e=d.target,f=e.type;(f==="radio"||f==="checkbox"||e.nodeName.toLowerCase()==="select")&&af.call(this,d)},keydown:function(d){var e=d.target,f=e.type;(d.keyCode===13&&e.nodeName.toLowerCase()!=="textarea"||d.keyCode===32&&(f==="checkbox"||f==="radio")||f==="select-multiple")&&af.call(this,d)},beforeactivate:function(c){var d=c.target;b8._data(d,"_change_data",ad(d))}},setup:function(d,e){if(this.type==="file"){return !1}for(var f in cX){b8.event.add(this,f+".specialChange",cX[f])}return cF.test(this.nodeName)},teardown:function(b){b8.event.remove(this,".specialChange");return cF.test(this.nodeName)}},cX=b8.event.special.change.filters,cX.focus=cX.beforeactivate}a9.addEventListener&&b8.each({focus:"focusin",blur:"focusout"},function(d,e){function f(b){b=b8.event.fix(b),b.type=e;return b8.event.handle.call(this,b)}b8.event.special[e]={setup:function(){this.addEventListener(d,f,!0)},teardown:function(){this.removeEventListener(d,f,!0)}}}),b8.each(["bind","one"],function(b,d){b8.fn[d]=function(c,k,l){if(typeof c==="object"){for(var m in c){this[d](m,k,c[m],l)}return this}if(b8.isFunction(k)||k===!1){l=k,k=ae}var n=d==="one"?b8.proxy(l,function(e){b8(this).unbind(e,n);return l.apply(this,arguments)}):l;if(c==="unload"&&d!=="one"){this.one(c,k,l)}else{for(var o=0,p=this.length;o<p;o++){b8.event.add(this[o],c,n,k)}}return this}}),b8.fn.extend({unbind:function(d,g){if(typeof d!=="object"||d.preventDefault){for(var i=0,j=this.length;i<j;i++){b8.event.remove(this[i],d,g)}}else{for(var h in d){this.unbind(h,d[h])}}return this},delegate:function(e,f,g,h){return this.live(f,g,h,e)},undelegate:function(d,e,f){return arguments.length===0?this.unbind("live"):this.die(e,null,f,d)},trigger:function(c,d){return this.each(function(){b8.event.trigger(c,d,this)})},triggerHandler:function(d,e){if(this[0]){var f=b8.Event(d);f.preventDefault(),f.stopPropagation(),b8.event.trigger(f,e,this[0]);return f.result}},toggle:function(d){var e=arguments,f=1;while(f<e.length){b8.proxy(d,e[f++])}return this.click(b8.proxy(d,function(a){var b=(b8._data(this,"lastToggle"+d.guid)||0)%f;b8._data(this,"lastToggle"+d.guid,b+1),a.preventDefault();return e[b].apply(this,arguments)||!1}))},hover:function(c,d){return this.mouseenter(c).mouseleave(d||c)}});var b9={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};b8.each(["live","die"],function(b,d){b8.fn[d]=function(c,p,s,t){var u,v=0,w,x,y,z=t||this.selector,A=t?this:b8(this.context);if(typeof c==="object"&&!c.preventDefault){for(var B in c){A[d](B,p,c[B],z)}return this}b8.isFunction(p)&&(s=p,p=ae),c=(c||"").split(" ");while((u=c[v++])!=null){w=cD.exec(u),x="",w&&(x=w[0],u=u.replace(cD,""));if(u==="hover"){c.push("mouseenter"+x,"mouseleave"+x);continue}y=u,u==="focus"||u==="blur"?(c.push(b9[u]+x),u=u+x):u=(b9[u]||u)+x;if(d==="live"){for(var C=0,D=A.length;C<D;C++){b8.event.add(A[C],"live."+ck(u,z),{data:p,selector:z,handler:s,origType:u,origHandler:s,preType:y})}}else{A.unbind("live."+ck(u,z),s)}}return this}}),b8.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(c,d){b8.fn[d]=function(b,e){e==null&&(e=b,b=null);return arguments.length>0?this.bind(d,b,e):this.trigger(d)},b8.attrFn&&(b8.attrFn[d]=!0)}),function(){function K(k,l,m,n,o,p){for(var q=0,r=n.length;q<r;q++){var s=n[q];if(s){var t=!1;s=s[k];while(s){if(s.sizcache===m){t=n[s.sizset];break}if(s.nodeType===1){p||(s.sizcache=m,s.sizset=q);if(typeof l!=="string"){if(s===l){t=!0;break}}else{if(A.filter(l,[s]).length>0){t=s;break}}}s=s[k]}n[q]=t}}}function J(k,l,m,n,o,p){for(var q=0,r=n.length;q<r;q++){var s=n[q];if(s){var t=!1;s=s[k];while(s){if(s.sizcache===m){t=n[s.sizset];break}s.nodeType===1&&!p&&(s.sizcache=m,s.sizset=q);if(s.nodeName.toLowerCase()===l){t=s;break}s=s[k]}n[q]=t}}}var b=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,c=0,d=Object.prototype.toString,w=!1,x=!0,y=/\\/g,z=/\W/;[0,0].sort(function(){x=!1;return 0});var A=function(a,f,k,l){k=k||[],f=f||a9;var m=f;if(f.nodeType!==1&&f.nodeType!==9){return[]}if(!a||typeof a!=="string"){return k}var p,v,M,N,O,P,Q,R,S=!0,T=A.isXML(f),U=[],V=a;do{b.exec(""),p=b.exec(V);if(p){V=p[3],U.push(p[1]);if(p[2]){N=p[3];break}}}while(p);if(U.length>1&&C.exec(a)){if(U.length===2&&B.relative[U[0]]){v=L(U[0]+U[1],f)}else{v=B.relative[U[0]]?[f]:A(U.shift(),f);while(U.length){a=U.shift(),B.relative[a]&&(a+=U.shift()),v=L(a,v)}}}else{!l&&U.length>1&&f.nodeType===9&&!T&&B.match.ID.test(U[0])&&!B.match.ID.test(U[U.length-1])&&(O=A.find(U.shift(),f,T),f=O.expr?A.filter(O.expr,O.set)[0]:O.set[0]);if(f){O=l?{expr:U.pop(),set:F(l)}:A.find(U.pop(),U.length===1&&(U[0]==="~"||U[0]==="+")&&f.parentNode?f.parentNode:f,T),v=O.expr?A.filter(O.expr,O.set):O.set,U.length>0?M=F(v):S=!1;while(U.length){P=U.pop(),Q=P,B.relative[P]?Q=U.pop():P="",Q==null&&(Q=f),B.relative[P](M,Q,T)}}else{M=U=[]}}M||(M=v),M||A.error(P||a);if(d.call(M)==="[object Array]"){if(S){if(f&&f.nodeType===1){for(R=0;M[R]!=null;R++){M[R]&&(M[R]===!0||M[R].nodeType===1&&A.contains(f,M[R]))&&k.push(v[R])}}else{for(R=0;M[R]!=null;R++){M[R]&&M[R].nodeType===1&&k.push(v[R])}}}else{k.push.apply(k,M)}}else{F(M,k)}N&&(A(N,m,k,l),A.uniqueSort(k));return k};A.uniqueSort=function(e){if(H){w=x,e.sort(H);if(w){for(var f=1;f<e.length;f++){e[f]===e[f-1]&&e.splice(f--,1)}}}return e},A.matches=function(e,f){return A(e,null,null,f)},A.matchesSelector=function(e,f){return A(f,null,null,[e]).length>0},A.find=function(i,k,l){var m;if(!i){return[]}for(var n=0,o=B.order.length;n<o;n++){var p,q=B.order[n];if(p=B.leftMatch[q].exec(i)){var r=p[1];p.splice(1,1);if(r.substr(r.length-1)!=="\\"){p[1]=(p[1]||"").replace(y,""),m=B.find[q](p,k,l);if(m!=null){i=i.replace(B.match[q],"");break}}}}m||(m=typeof k.getElementsByTagName!=="undefined"?k.getElementsByTagName("*"):[]);return{set:m,expr:i}},A.filter=function(k,l,u,v){var M,N,O=k,P=[],Q=l,R=l&&l[0]&&A.isXML(l[0]);while(k&&l.length){for(var S in B.filter){if((M=B.leftMatch[S].exec(k))!=null&&M[2]){var T,U,V=B.filter[S],W=M[1];N=!1,M.splice(1,1);if(W.substr(W.length-1)==="\\"){continue}Q===P&&(P=[]);if(B.preFilter[S]){M=B.preFilter[S](M,Q,u,P,v,R);if(M){if(M===!0){continue}}else{N=T=!0}}if(M){for(var X=0;(U=Q[X])!=null;X++){if(U){T=V(U,M,X,Q);var Y=v^!!T;u&&T!=null?Y?N=!0:Q[X]=!1:Y&&(P.push(U),N=!0)}}}if(T!==ae){u||(Q=P),k=k.replace(B.match[S],"");if(!N){return[]}break}}}if(k===O){if(N==null){A.error(k)}else{break}}O=k}return Q},A.error=function(e){throw"Syntax error, unrecognized expression: "+e};var B=A.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")},type:function(e){return e.getAttribute("type")}},relative:{"+":function(i,j){var k=typeof j==="string",l=k&&!z.test(j),m=k&&!l;l&&(j=j.toLowerCase());for(var n=0,o=i.length,p;n<o;n++){if(p=i[n]){while((p=p.previousSibling)&&p.nodeType!==1){}i[n]=m||p&&p.nodeName.toLowerCase()===j?p||!1:p===j}}m&&A.filter(j,i,!0)},">":function(h,i){var j,k=typeof i==="string",l=0,m=h.length;if(k&&!z.test(i)){i=i.toLowerCase();for(;l<m;l++){j=h[l];if(j){var n=j.parentNode;h[l]=n.nodeName.toLowerCase()===i?n:!1}}}else{for(;l<m;l++){j=h[l],j&&(h[l]=k?j.parentNode:j.parentNode===i)}k&&A.filter(i,h,!0)}},"":function(e,h,i){var j,k=c++,l=K;typeof h==="string"&&!z.test(h)&&(h=h.toLowerCase(),j=h,l=J),l("parentNode",h,k,e,j,i)},"~":function(e,h,i){var j,k=c++,l=K;typeof h==="string"&&!z.test(h)&&(h=h.toLowerCase(),j=h,l=J),l("previousSibling",h,k,e,j,i)}},find:{ID:function(e,f,g){if(typeof f.getElementById!=="undefined"&&!g){var h=f.getElementById(e[1]);return h&&h.parentNode?[h]:[]}},NAME:function(g,h){if(typeof h.getElementsByName!=="undefined"){var i=[],j=h.getElementsByName(g[1]);for(var k=0,l=j.length;k<l;k++){j[k].getAttribute("name")===g[1]&&i.push(j[k])}return i.length===0?null:i}},TAG:function(e,f){if(typeof f.getElementsByTagName!=="undefined"){return f.getElementsByTagName(e[1])}}},preFilter:{CLASS:function(i,j,k,l,m,n){i=" "+i[1].replace(y,"")+" ";if(n){return i}for(var o=0,p;(p=j[o])!=null;o++){p&&(m^(p.className&&(" "+p.className+" ").replace(/[\t\n\r]/g," ").indexOf(i)>=0)?k||l.push(p):k&&(j[o]=!1))}return !1},ID:function(e){return e[1].replace(y,"")},TAG:function(e,f){return e[1].replace(y,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){e[2]||A.error(e[0]),e[2]=e[2].replace(/^\+|\s*/g,"");var f=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=f[1]+(f[2]||1)-0,e[3]=f[3]-0}else{e[2]&&A.error(e[0])}e[0]=c++;return e},ATTR:function(h,i,j,k,l,m){var n=h[1]=h[1].replace(y,"");!m&&B.attrMap[n]&&(h[1]=B.attrMap[n]),h[4]=(h[4]||h[5]||"").replace(y,""),h[2]==="~="&&(h[4]=" "+h[4]+" ");return h},PSEUDO:function(a,h,i,j,k){if(a[1]==="not"){if((b.exec(a[3])||"").length>1||/^\w/.test(a[3])){a[3]=A(a[3],null,null,h)}else{var l=A.filter(a[3],h,i,!0^k);i||j.push.apply(j,l);return !1}}else{if(B.match.POS.test(a[0])||B.match.CHILD.test(a[0])){return !0}}return a},POS:function(e){e.unshift(!0);return e}},filters:{enabled:function(e){return e.disabled===!1&&e.type!=="hidden"},disabled:function(e){return e.disabled===!0},checked:function(e){return e.checked===!0},selected:function(e){e.parentNode&&e.parentNode.selectedIndex;return e.selected===!0},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(e,f,g){return !!A(g[3],e).length},header:function(e){return/h\d/i.test(e.nodeName)},text:function(e){return"text"===e.getAttribute("type")},radio:function(e){return"radio"===e.type},checkbox:function(e){return"checkbox"===e.type},file:function(e){return"file"===e.type},password:function(e){return"password"===e.type},submit:function(e){return"submit"===e.type},image:function(e){return"image"===e.type},reset:function(e){return"reset"===e.type},button:function(e){return"button"===e.type||e.nodeName.toLowerCase()==="button"},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)}},setFilters:{first:function(e,f){return f===0},last:function(e,f,g,h){return f===h.length-1},even:function(e,f){return f%2===0},odd:function(e,f){return f%2===1},lt:function(e,f,g){return f<g[3]-0},gt:function(e,f,g){return f>g[3]-0},nth:function(e,f,g){return g[3]-0===f},eq:function(e,f,g){return g[3]-0===f}},filter:{PSEUDO:function(j,k,l,m){var n=k[1],o=B.filters[n];if(o){return o(j,l,k,m)}if(n==="contains"){return(j.textContent||j.innerText||A.getText([j])||"").indexOf(k[3])>=0}if(n==="not"){var p=k[3];for(var q=0,r=p.length;q<r;q++){if(p[q]===j){return !1}}return !0}A.error(n)},CHILD:function(k,l){var m=l[1],n=k;switch(m){case"only":case"first":while(n=n.previousSibling){if(n.nodeType===1){return !1}}if(m==="first"){return !0}n=k;case"last":while(n=n.nextSibling){if(n.nodeType===1){return !1}}return !0;case"nth":var o=l[2],p=l[3];if(o===1&&p===0){return !0}var q=l[0],r=k.parentNode;if(r&&(r.sizcache!==q||!k.nodeIndex)){var s=0;for(n=r.firstChild;n;n=n.nextSibling){n.nodeType===1&&(n.nodeIndex=++s)}r.sizcache=q}var t=k.nodeIndex-p;return o===0?t===0:t%o===0&&t/o>=0}},ID:function(e,f){return e.nodeType===1&&e.getAttribute("id")===f},TAG:function(e,f){return f==="*"&&e.nodeType===1||e.nodeName.toLowerCase()===f},CLASS:function(e,f){return(" "+(e.className||e.getAttribute("class"))+" ").indexOf(f)>-1},ATTR:function(h,i){var j=i[1],k=B.attrHandle[j]?B.attrHandle[j](h):h[j]!=null?h[j]:h.getAttribute(j),l=k+"",m=i[2],n=i[4];return k==null?m==="!=":m==="="?l===n:m==="*="?l.indexOf(n)>=0:m==="~="?(" "+l+" ").indexOf(n)>=0:n?m==="!="?l!==n:m==="^="?l.indexOf(n)===0:m==="$="?l.substr(l.length-n.length)===n:m==="|="?l===n||l.substr(0,n.length+1)===n+"-":!1:l&&k!==!1},POS:function(g,h,i,j){var k=h[2],l=B.setFilters[k];if(l){return l(g,i,h,j)}}}},C=B.match.POS,D=function(e,f){return"\\"+(f-0+1)};for(var E in B.match){B.match[E]=new RegExp(B.match[E].source+/(?![^\[]*\])(?![^\(]*\))/.source),B.leftMatch[E]=new RegExp(/(^(?:.|\r|\n)*?)/.source+B.match[E].source.replace(/\\(\d+)/g,D))}var F=function(e,f){e=Array.prototype.slice.call(e,0);if(f){f.push.apply(f,e);return f}return e};try{Array.prototype.slice.call(a9.documentElement.childNodes,0)[0].nodeType}catch(G){F=function(f,g){var h=0,i=g||[];if(d.call(f)==="[object Array]"){Array.prototype.push.apply(i,f)}else{if(typeof f.length==="number"){for(var j=f.length;h<j;h++){i.push(f[h])}}else{for(;f[h];h++){i.push(f[h])}}}return i}}var H,I;a9.documentElement.compareDocumentPosition?H=function(e,f){if(e===f){w=!0;return 0}if(!e.compareDocumentPosition||!f.compareDocumentPosition){return e.compareDocumentPosition?-1:1}return e.compareDocumentPosition(f)&4?-1:1}:(H=function(g,l){var m,n,o=[],p=[],q=g.parentNode,r=l.parentNode,s=q;if(g===l){w=!0;return 0}if(q===r){return I(g,l)}if(!q){return -1}if(!r){return 1}while(s){o.unshift(s),s=s.parentNode}s=r;while(s){p.unshift(s),s=s.parentNode}m=o.length,n=p.length;for(var t=0;t<m&&t<n;t++){if(o[t]!==p[t]){return I(o[t],p[t])}}return t===m?I(g,p[t],-1):I(o[t],l,1)},I=function(e,f,g){if(e===f){return g}var h=e.nextSibling;while(h){if(h===f){return -1}h=h.nextSibling}return 1}),A.getText=function(e){var f="",g;for(var h=0;e[h];h++){g=e[h],g.nodeType===3||g.nodeType===4?f+=g.nodeValue:g.nodeType!==8&&(f+=A.getText(g.childNodes))}return f},function(){var f=a9.createElement("div"),g="script"+(new Date).getTime(),h=a9.documentElement;f.innerHTML="<a name='"+g+"'/>",h.insertBefore(f,h.firstChild),a9.getElementById(g)&&(B.find.ID=function(i,j,k){if(typeof j.getElementById!=="undefined"&&!k){var l=j.getElementById(i[1]);return l?l.id===i[1]||typeof l.getAttributeNode!=="undefined"&&l.getAttributeNode("id").nodeValue===i[1]?[l]:ae:[]}},B.filter.ID=function(e,i){var j=typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id");return e.nodeType===1&&j&&j.nodeValue===i}),h.removeChild(f),h=f=null}(),function(){var e=a9.createElement("div");e.appendChild(a9.createComment("")),e.getElementsByTagName("*").length>0&&(B.find.TAG=function(f,g){var h=g.getElementsByTagName(f[1]);if(f[1]==="*"){var i=[];for(var j=0;h[j];j++){h[j].nodeType===1&&i.push(h[j])}h=i}return h}),e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"&&(B.attrHandle.href=function(f){return f.getAttribute("href",2)}),e=null}(),a9.querySelectorAll&&function(){var f=A,g=a9.createElement("div"),h="__sizzle__";g.innerHTML="<p class='TEST'></p>";if(!g.querySelectorAll||g.querySelectorAll(".TEST").length!==0){A=function(a,k,l,p){k=k||a9;if(!p&&!A.isXML(k)){var t=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(a);if(t&&(k.nodeType===1||k.nodeType===9)){if(t[1]){return F(k.getElementsByTagName(a),l)}if(t[2]&&B.find.CLASS&&k.getElementsByClassName){return F(k.getElementsByClassName(t[2]),l)}}if(k.nodeType===9){if(a==="body"&&k.body){return F([k.body],l)}if(t&&t[3]){var u=k.getElementById(t[3]);if(!u||!u.parentNode){return F([],l)}if(u.id===t[3]){return F([u],l)}}try{return F(k.querySelectorAll(a),l)}catch(v){}}else{if(k.nodeType===1&&k.nodeName.toLowerCase()!=="object"){var M=k,N=k.getAttribute("id"),O=N||h,P=k.parentNode,Q=/^\s*[+~]/.test(a);N?O=O.replace(/'/g,"\\$&"):k.setAttribute("id",O),Q&&P&&(k=k.parentNode);try{if(!Q||P){return F(k.querySelectorAll("[id='"+O+"'] "+a),l)}}catch(R){}finally{N||M.removeAttribute("id")}}}}return f(a,k,l,p)};for(var i in f){A[i]=f[i]}g=null}}(),function(){var f=a9.documentElement,g=f.matchesSelector||f.mozMatchesSelector||f.webkitMatchesSelector||f.msMatchesSelector,h=!1;try{g.call(a9.documentElement,"[test!='']:sizzle")}catch(i){h=!0}g&&(A.matchesSelector=function(j,k){k=k.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!A.isXML(j)){try{if(h||!B.match.PSEUDO.test(k)&&!/!=/.test(k)){return g.call(j,k)}}catch(l){}}return A(k,null,null,[j]).length>0})}(),function(){var e=a9.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(e.getElementsByClassName&&e.getElementsByClassName("e").length!==0){e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}B.order.splice(1,0,"CLASS"),B.find.CLASS=function(f,g,h){if(typeof g.getElementsByClassName!=="undefined"&&!h){return g.getElementsByClassName(f[1])}},e=null}}(),a9.documentElement.contains?A.contains=function(e,f){return e!==f&&(e.contains?e.contains(f):!0)}:a9.documentElement.compareDocumentPosition?A.contains=function(e,f){return !!(e.compareDocumentPosition(f)&16)}:A.contains=function(){return !1},A.isXML=function(e){var f=(e?e.ownerDocument||e:0).documentElement;return f?f.nodeName!=="HTML":!1};var L=function(i,j){var k,l=[],m="",n=j.nodeType?[j]:j;while(k=B.match.PSEUDO.exec(i)){m+=k[0],i=i.replace(B.match.PSEUDO,"")}i=B.relative[i]?i+"*":i;for(var o=0,p=n.length;o<p;o++){A(i,n[o],l)}return A.filter(m,l)};b8.find=A,b8.expr=A.selectors,b8.expr[":"]=b8.expr.filters,b8.unique=A.uniqueSort,b8.text=A.getText,b8.isXMLDoc=A.isXML,b8.contains=A.contains}();var cm=/Until$/,co=/^(?:parents|prevUntil|prevAll)/,cq=/,/,cs=/^.[^:#\[\.,]*$/,cu=Array.prototype.slice,cw=b8.expr.match.POS,cy={children:!0,contents:!0,next:!0,prev:!0};b8.fn.extend({find:function(d){var i=this.pushStack("","find",d),j=0;for(var k=0,l=this.length;k<l;k++){j=i.length,b8.find(d,this[k],i);if(k>0){for(var m=j;m<i.length;m++){for(var n=0;n<j;n++){if(i[n]===i[m]){i.splice(m--,1);break}}}}}return i},has:function(c){var d=b8(c);return this.filter(function(){for(var b=0,e=d.length;b<e;b++){if(b8.contains(this,d[b])){return !0}}})},not:function(b){return this.pushStack(cC(this,b,!1),"not",b)},filter:function(b){return this.pushStack(cC(this,b,!0),"filter",b)},is:function(b){return !!b&&b8.filter(b,this).length>0},closest:function(d,m){var n=[],o,p,q=this[0];if(b8.isArray(d)){var r,s,t={},u=1;if(q&&d.length){for(o=0,p=d.length;o<p;o++){s=d[o],t[s]||(t[s]=b8.expr.match.POS.test(s)?b8(s,m||this.context):s)}while(q&&q.ownerDocument&&q!==m){for(s in t){r=t[s],(r.jquery?r.index(q)>-1:b8(q).is(r))&&n.push({selector:s,elem:q,level:u})}q=q.parentNode,u++}}return n}var v=cw.test(d)?b8(d,m||this.context):null;for(o=0,p=this.length;o<p;o++){q=this[o];while(q){if(v?v.index(q)>-1:b8.find.matchesSelector(q,d)){n.push(q);break}q=q.parentNode;if(!q||!q.ownerDocument||q===m){break}}}n=n.length>1?b8.unique(n):n;return this.pushStack(n,"closest",d)},index:function(b){if(!b||typeof b==="string"){return b8.inArray(this[0],b?b8(b):this.parent().children())}return b8.inArray(b.jquery?b[0]:b,this)},add:function(d,f){var g=typeof d==="string"?b8(d,f):b8.makeArray(d),h=b8.merge(this.get(),g);return this.pushStack(cA(g[0])||cA(h[0])?h:b8.unique(h))},andSelf:function(){return this.add(this.prevObject)}}),b8.each({parent:function(c){var d=c.parentNode;return d&&d.nodeType!==11?d:null},parents:function(b){return b8.dir(b,"parentNode")},parentsUntil:function(d,e,f){return b8.dir(d,"parentNode",f)},next:function(b){return b8.nth(b,2,"nextSibling")},prev:function(b){return b8.nth(b,2,"previousSibling")},nextAll:function(b){return b8.dir(b,"nextSibling")},prevAll:function(b){return b8.dir(b,"previousSibling")},nextUntil:function(d,e,f){return b8.dir(d,"nextSibling",f)},prevUntil:function(d,e,f){return b8.dir(d,"previousSibling",f)},siblings:function(b){return b8.sibling(b.parentNode.firstChild,b)},children:function(b){return b8.sibling(b.firstChild)},contents:function(b){return b8.nodeName(b,"iframe")?b.contentDocument||b.contentWindow.document:b8.makeArray(b.childNodes)}},function(c,d){b8.fn[c]=function(a,b){var h=b8.map(this,d,a),i=cu.call(arguments);cm.test(c)||(b=a),b&&typeof b==="string"&&(h=b8.filter(b,h)),h=this.length>1&&!cy[c]?b8.unique(h):h,(this.length>1||cq.test(b))&&co.test(c)&&(h=h.reverse());return this.pushStack(h,c,i.join(","))}}),b8.extend({filter:function(d,e,f){f&&(d=":not("+d+")");return e.length===1?b8.find.matchesSelector(e[0],d)?[e[0]]:[]:b8.find.matches(d,e)},dir:function(b,d,h){var i=[],j=b[d];while(j&&j.nodeType!==9&&(h===ae||j.nodeType!==1||!b8(j).is(h))){j.nodeType===1&&i.push(j),j=j[d]}return i},nth:function(f,g,h,i){g=g||1;var j=0;for(;f;f=f[h]){if(f.nodeType===1&&++j===g){break}}return f},sibling:function(d,e){var f=[];for(;d;d=d.nextSibling){d.nodeType===1&&d!==e&&f.push(d)}return f}});var cE=/ jQuery\d+="(?:\d+|null)"/g,cG=/^\s+/,cI=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,cK=/<([\w:]+)/,cM=/<tbody/i,cO=/<|&#?\w+;/,cQ=/<(?:script|object|embed|option|style)/i,cS=/checked\s*(?:[^=]|=\s*.checked.)/i,cU={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};cU.optgroup=cU.option,cU.tbody=cU.tfoot=cU.colgroup=cU.caption=cU.thead,cU.th=cU.td,b8.support.htmlSerialize||(cU._default=[1,"div<div>","</div>"]),b8.fn.extend({text:function(b){if(b8.isFunction(b)){return this.each(function(a){var d=b8(this);d.text(b.call(this,a,d.text()))})}if(typeof b!=="object"&&b!==ae){return this.empty().append((this[0]&&this[0].ownerDocument||a9).createTextNode(b))}return b8.text(this)},wrapAll:function(c){if(b8.isFunction(c)){return this.each(function(a){b8(this).wrapAll(c.call(this,a))})}if(this[0]){var d=b8(c,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&d.insertBefore(this[0]),d.map(function(){var b=this;while(b.firstChild&&b.firstChild.nodeType===1){b=b.firstChild}return b}).append(this)}return this},wrapInner:function(b){if(b8.isFunction(b)){return this.each(function(a){b8(this).wrapInner(b.call(this,a))})}return this.each(function(){var a=b8(this),d=a.contents();d.length?d.wrapAll(b):a.append(b)})},wrap:function(b){return this.each(function(){b8(this).wrapAll(b)})},unwrap:function(){return this.parent().each(function(){b8.nodeName(this,"body")||b8(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(b){this.nodeType===1&&this.appendChild(b)})},prepend:function(){return this.domManip(arguments,!0,function(b){this.nodeType===1&&this.insertBefore(b,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,!1,function(c){this.parentNode.insertBefore(c,this)})}if(arguments.length){var b=b8(arguments[0]);b.push.apply(b,this.toArray());return this.pushStack(b,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,!1,function(c){this.parentNode.insertBefore(c,this.nextSibling)})}if(arguments.length){var b=this.pushStack(this,"after",arguments);b.push.apply(b,b8(arguments[0]).toArray());return b}},remove:function(d,f){for(var g=0,h;(h=this[g])!=null;g++){if(!d||b8.filter(d,[h]).length){!f&&h.nodeType===1&&(b8.cleanData(h.getElementsByTagName("*")),b8.cleanData([h])),h.parentNode&&h.parentNode.removeChild(h)}}return this},empty:function(){for(var c=0,d;(d=this[c])!=null;c++){d.nodeType===1&&b8.cleanData(d.getElementsByTagName("*"));while(d.firstChild){d.removeChild(d.firstChild)}}return this},clone:function(c,d){c=c==null?!1:c,d=d==null?c:d;return this.map(function(){return b8.clone(this,c,d)})},html:function(b){if(b===ae){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(cE,""):null}if(typeof b!=="string"||cQ.test(b)||!b8.support.leadingWhitespace&&cG.test(b)||cU[(cK.exec(b)||["",""])[1].toLowerCase()]){b8.isFunction(b)?this.each(function(a){var e=b8(this);e.html(b.call(this,a,e.html()))}):this.empty().append(b)}else{b=b.replace(cI,"<$1></$2>");try{for(var d=0,g=this.length;d<g;d++){this[d].nodeType===1&&(b8.cleanData(this[d].getElementsByTagName("*")),this[d].innerHTML=b)}}catch(h){this.empty().append(b)}}return this},replaceWith:function(b){if(this[0]&&this[0].parentNode){if(b8.isFunction(b)){return this.each(function(a){var d=b8(this),f=d.html();d.replaceWith(b.call(this,a,f))})}typeof b!=="string"&&(b=b8(b).detach());return this.each(function(){var a=this.nextSibling,d=this.parentNode;b8(this).remove(),a?b8(a).before(b):b8(d).append(b)})}return this.pushStack(b8(b8.isFunction(b)?b():b),"replaceWith",b)},detach:function(b){return this.remove(b,!0)},domManip:function(b,d,o){var p,q,r,s,t=b[0],u=[];if(!b8.support.checkClone&&arguments.length===3&&typeof t==="string"&&cS.test(t)){return this.each(function(){b8(this).domManip(b,d,o,!0)})}if(b8.isFunction(t)){return this.each(function(a){var c=b8(this);b[0]=t.call(this,a,d?c.html():ae),c.domManip(b,d,o)})}if(this[0]){s=t&&t.parentNode,b8.support.parentNode&&s&&s.nodeType===11&&s.childNodes.length===this.length?p={fragment:s}:p=b8.buildFragment(b,this,u),r=p.fragment,r.childNodes.length===1?q=r=r.firstChild:q=r.firstChild;if(q){d=d&&b8.nodeName(q,"tr");for(var v=0,w=this.length,x=w-1;v<w;v++){o.call(d?cW(this[v],q):this[v],p.cacheable||w>1&&v<x?b8.clone(r,!0,!0):r)}}u.length&&b8.each(u,ai)}return this}}),b8.buildFragment=function(c,d,j){var k,l,m,n=d&&d[0]?d[0].ownerDocument||d[0]:a9;c.length===1&&typeof c[0]==="string"&&c[0].length<512&&n===a9&&c[0].charAt(0)==="<"&&!cQ.test(c[0])&&(b8.support.checkClone||!cS.test(c[0]))&&(l=!0,m=b8.fragments[c[0]],m&&(m!==1&&(k=m))),k||(k=n.createDocumentFragment(),b8.clean(c,n,k,j)),l&&(b8.fragments[c[0]]=m?k:1);return{fragment:k,cacheable:l}},b8.fragments={},b8.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(c,d){b8.fn[c]=function(a){var b=[],k=b8(a),l=this.length===1&&this[0].parentNode;if(l&&l.nodeType===11&&l.childNodes.length===1&&k.length===1){k[d](this[0]);return this}for(var m=0,n=k.length;m<n;m++){var o=(m>0?this.clone(!0):this).get();b8(k[m])[d](o),b=b.concat(o)}return this.pushStack(b,c,k.selector)}}),b8.extend({clone:function(d,i,j){var k=d.cloneNode(!0),l,m,n;if((!b8.support.noCloneEvent||!b8.support.noCloneChecked)&&(d.nodeType===1||d.nodeType===11)&&!b8.isXMLDoc(d)){aa(d,k),l=ab(d),m=ab(k);for(n=0;l[n];++n){aa(l[n],m[n])}}if(i){cY(d,k);if(j){l=ab(d),m=ab(k);for(n=0;l[n];++n){cY(l[n],m[n])}}}return k},clean:function(c,d,q,r){d=d||a9,typeof d.createElement==="undefined"&&(d=d.ownerDocument||d[0]&&d[0].ownerDocument||a9);var s=[];for(var t=0,u;(u=c[t])!=null;t++){typeof u==="number"&&(u+="");if(!u){continue}if(typeof u!=="string"||cO.test(u)){if(typeof u==="string"){u=u.replace(cI,"<$1></$2>");var v=(cK.exec(u)||["",""])[1].toLowerCase(),w=cU[v]||cU._default,x=w[0],y=d.createElement("div");y.innerHTML=w[1]+u+w[2];while(x--){y=y.lastChild}if(!b8.support.tbody){var z=cM.test(u),A=v==="table"&&!z?y.firstChild&&y.firstChild.childNodes:w[1]==="<table>"&&!z?y.childNodes:[];for(var B=A.length-1;B>=0;--B){b8.nodeName(A[B],"tbody")&&!A[B].childNodes.length&&A[B].parentNode.removeChild(A[B])}}!b8.support.leadingWhitespace&&cG.test(u)&&y.insertBefore(d.createTextNode(cG.exec(u)[0]),y.firstChild),u=y.childNodes}}else{u=d.createTextNode(u)}u.nodeType?s.push(u):s=b8.merge(s,u)}if(q){for(t=0;s[t];t++){!r||!b8.nodeName(s[t],"script")||s[t].type&&s[t].type.toLowerCase()!=="text/javascript"?(s[t].nodeType===1&&s.splice.apply(s,[t+1,0].concat(b8.makeArray(s[t].getElementsByTagName("script")))),q.appendChild(s[t])):r.push(s[t].parentNode?s[t].parentNode.removeChild(s[t]):s[t])}}return s},cleanData:function(d){var l,m,n=b8.cache,o=b8.expando,p=b8.event.special,q=b8.support.deleteExpando;for(var r=0,s;(s=d[r])!=null;r++){if(s.nodeName&&b8.noData[s.nodeName.toLowerCase()]){continue}m=s[b8.expando];if(m){l=n[m]&&n[m][o];if(l&&l.events){for(var t in l.events){p[t]?b8.event.remove(s,t):b8.removeEvent(s,t,l.handle)}l.handle&&(l.handle.elem=null)}q?delete s[b8.expando]:s.removeAttribute&&s.removeAttribute(b8.expando),delete n[m]}}}});var ak=/alpha\([^)]*\)/i,am=/opacity=([^)]*)/,ao=/-([a-z])/ig,aq=/([A-Z])/g,at=/^-?\d+(?:px)?$/i,av=/^-?\d/,ax={position:"absolute",visibility:"hidden",display:"block"},az=["Left","Right"],aB=["Top","Bottom"],aD,aF,aH,aJ=function(c,d){return d.toUpperCase()};b8.fn.css=function(b,d){if(arguments.length===2&&d===ae){return this}return b8.access(this,b,d,!0,function(f,g,h){return h!==ae?b8.style(f,g,h):b8.css(f,g)})},b8.extend({cssHooks:{opacity:{get:function(d,e){if(e){var f=aD(d,"opacity","opacity");return f===""?"1":f}return d.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":b8.support.cssFloat?"cssFloat":"styleFloat"},style:function(b,d,l,m){if(b&&b.nodeType!==3&&b.nodeType!==8&&b.style){var n,o=b8.camelCase(d),p=b.style,q=b8.cssHooks[o];d=b8.cssProps[o]||o;if(l===ae){if(q&&"get" in q&&(n=q.get(b,!1,m))!==ae){return n}return p[d]}if(typeof l==="number"&&isNaN(l)||l==null){return}typeof l==="number"&&!b8.cssNumber[o]&&(l+="px");if(!q||!("set" in q)||(l=q.set(b,l))!==ae){try{p[d]=l}catch(r){}}}},css:function(b,d,i){var j,k=b8.camelCase(d),l=b8.cssHooks[k];d=b8.cssProps[k]||k;if(l&&"get" in l&&(j=l.get(b,!0,i))!==ae){return j}if(aD){return aD(b,d,k)}},swap:function(f,g,h){var i={};for(var j in g){i[j]=f.style[j],f.style[j]=g[j]}h.call(f);for(j in g){f.style[j]=i[j]}},camelCase:function(b){return b.replace(ao,aJ)}}),b8.curCSS=b8.css,b8.each(["height","width"],function(c,d){b8.cssHooks[d]={get:function(b,g,h){var i;if(g){b.offsetWidth!==0?i=aL(b,d,h):b8.swap(b,ax,function(){i=aL(b,d,h)});if(i<=0){i=aD(b,d,d),i==="0px"&&aH&&(i=aH(b,d,d));if(i!=null){return i===""||i==="auto"?"0px":i}}if(i<0||i==null){i=b.style[d];return i===""||i==="auto"?"0px":i}return typeof i==="string"?i:i+"px"}},set:function(e,f){if(!at.test(f)){return f}f=parseFloat(f);if(f>=0){return f+"px"}}}}),b8.support.opacity||(b8.cssHooks.opacity={get:function(c,d){return am.test((d&&c.currentStyle?c.currentStyle.filter:c.style.filter)||"")?parseFloat(RegExp.$1)/100+"":d?"1":""},set:function(d,g){var h=d.style;h.zoom=1;var i=b8.isNaN(g)?"":"alpha(opacity="+g*100+")",j=h.filter||"";h.filter=ak.test(j)?j.replace(ak,i):h.filter+" "+i}}),a9.defaultView&&a9.defaultView.getComputedStyle&&(aF=function(b,d,i){var j,k,l;i=i.replace(aq,"-$1").toLowerCase();if(!(k=b.ownerDocument.defaultView)){return ae}if(l=k.getComputedStyle(b,null)){j=l.getPropertyValue(i),j===""&&!b8.contains(b.ownerDocument.documentElement,b)&&(j=b8.style(b,i))}return j}),a9.documentElement.currentStyle&&(aH=function(g,h){var i,j=g.currentStyle&&g.currentStyle[h],k=g.runtimeStyle&&g.runtimeStyle[h],l=g.style;!at.test(j)&&av.test(j)&&(i=l.left,k&&(g.runtimeStyle.left=g.currentStyle.left),l.left=h==="fontSize"?"1em":j||0,j=l.pixelLeft+"px",l.left=i,k&&(g.runtimeStyle.left=k));return j===""?"auto":j}),aD=aF||aH,b8.expr&&b8.expr.filters&&(b8.expr.filters.hidden=function(d){var e=d.offsetWidth,f=d.offsetHeight;return e===0&&f===0||!b8.support.reliableHiddenOffsets&&(d.style.display||b8.css(d,"display"))==="none"},b8.expr.filters.visible=function(b){return !b8.expr.filters.hidden(b)});var aN=/%20/g,aP=/\[\]$/,aR=/\r?\n/g,aT=/#.*$/,aV=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,aX=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aZ=/(?:^file|^widget|\-extension):$/,a1=/^(?:GET|HEAD)$/,a3=/^\/\//,a5=/\?/,a7=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,aj=/^(?:select|textarea)/i,al=/\s+/,an=/([?&])_=[^&]*/,ap=/(^|\-)([a-z])/g,ar=function(d,e,f){return e+f.toUpperCase()},au=/^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/,aw=b8.fn.load,ay={},aA={},aC,aE;try{aC=a9.location.href}catch(aG){aC=a9.createElement("a"),aC.href="",aC=aC.href}aE=au.exec(aC.toLowerCase()),b8.fn.extend({load:function(b,d,j){if(typeof b!=="string"&&aw){return aw.apply(this,arguments)}if(!this.length){return this}var k=b.indexOf(" ");if(k>=0){var l=b.slice(k,b.length);b=b.slice(0,k)}var m="GET";d&&(b8.isFunction(d)?(j=d,d=ae):typeof d==="object"&&(d=b8.param(d,b8.ajaxSettings.traditional),m="POST"));var n=this;b8.ajax({url:b,type:m,dataType:"html",data:d,complete:function(e,f,g){g=e.responseText,e.isResolved()&&(e.done(function(c){g=c}),n.html(l?b8("<div>").append(g.replace(a7,"")).find(l):g)),j&&n.each(j,[g,f,e])}});return this},serialize:function(){return b8.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b8.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||aj.test(this.nodeName)||aX.test(this.type))}).map(function(d,e){var f=b8(this).val();return f==null?null:b8.isArray(f)?b8.map(f,function(b,g){return{name:e.name,value:b.replace(aR,"\r\n")}}):{name:e.name,value:f.replace(aR,"\r\n")}}).get()}}),b8.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(c,d){b8.fn[d]=function(b){return this.bind(d,b)}}),b8.each(["get","post"],function(b,d){b8[d]=function(c,h,i,j){b8.isFunction(h)&&(j=j||i,i=h,h=ae);return b8.ajax({type:d,url:c,data:h,success:i,dataType:j})}}),b8.extend({getScript:function(b,d){return b8.get(b,ae,d,"script")},getJSON:function(d,e,f){return b8.get(d,e,f,"json")},ajaxSetup:function(d,e){e?b8.extend(!0,d,b8.ajaxSettings,e):(e=d,d=b8.extend(!0,b8.ajaxSettings,e));for(var f in {context:1,url:1}){f in e?d[f]=e[f]:f in b8.ajaxSettings&&(d[f]=b8.ajaxSettings[f])}return d},ajaxSettings:{url:aC,isLocal:aZ.test(aE[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":ac.String,"text html":!0,"text json":b8.parseJSON,"text xml":b8.parseXML}},ajaxPrefilter:aI(ay),ajaxTransport:aI(aA),ajax:function(b,d){function Q(e,f,g,h){if(M!==2){M=2,K&&clearTimeout(K),J=ae,H=h||"",P.readyState=e?4:0;var i,j,k,m=g?aO(z,P,g):ae,o,p;if(e>=200&&e<300||e===304){if(z.ifModified){if(o=P.getResponseHeader("Last-Modified")){b8.lastModified[F]=o}if(p=P.getResponseHeader("Etag")){b8.etag[F]=p}}if(e===304){f="notmodified",i=!0}else{try{j=aQ(z,m),f="success",i=!0}catch(r){f="parsererror",k=r}}}else{k=f;if(!f||e){f="error",e<0&&(e=0)}}P.status=e,P.statusText=f,i?C.resolveWith(A,[j,f,P]):C.rejectWith(A,[P,f,k]),P.statusCode(E),E=ae,N&&B.trigger("ajax"+(i?"Success":"Error"),[P,z,i?j:k]),D.resolveWith(A,[P,f]),N&&(B.trigger("ajaxComplete",[P,z]),--b8.active||b8.event.trigger("ajaxStop"))}}typeof b==="object"&&(d=b,b=ae),d=d||{};var z=b8.ajaxSetup({},d),A=z.context||z,B=A!==z&&(A.nodeType||A instanceof b8)?b8(A):b8.event,C=b8.Deferred(),D=b8._Deferred(),E=z.statusCode||{},F,G={},H,I,J,K,L,M=0,N,O,P={readyState:0,setRequestHeader:function(c,e){M||(G[c.toLowerCase().replace(ap,ar)]=e);return this},getAllResponseHeaders:function(){return M===2?H:null},getResponseHeader:function(e){var f;if(M===2){if(!I){I={};while(f=aV.exec(H)){I[f[1].toLowerCase()]=f[2]}}f=I[e.toLowerCase()]}return f===ae?null:f},overrideMimeType:function(c){M||(z.mimeType=c);return this},abort:function(c){c=c||"abort",J&&J.abort(c),Q(0,c);return this}};C.promise(P),P.success=P.done,P.error=P.fail,P.complete=D.done,P.statusCode=function(c){if(c){var e;if(M<2){for(e in c){E[e]=[E[e],c[e]]}}else{e=c[P.status],P.then(e,e)}}return this},z.url=((b||z.url)+"").replace(aT,"").replace(a3,aE[1]+"//"),z.dataTypes=b8.trim(z.dataType||"*").toLowerCase().split(al),z.crossDomain||(L=au.exec(z.url.toLowerCase()),z.crossDomain=L&&(L[1]!=aE[1]||L[2]!=aE[2]||(L[3]||(L[1]==="http:"?80:443))!=(aE[3]||(aE[1]==="http:"?80:443)))),z.data&&z.processData&&typeof z.data!=="string"&&(z.data=b8.param(z.data,z.traditional)),aK(ay,z,d,P);if(M===2){return !1}N=z.global,z.type=z.type.toUpperCase(),z.hasContent=!a1.test(z.type),N&&b8.active++===0&&b8.event.trigger("ajaxStart");if(!z.hasContent){z.data&&(z.url+=(a5.test(z.url)?"&":"?")+z.data),F=z.url;if(z.cache===!1){var R=b8.now(),S=z.url.replace(an,"$1_="+R);z.url=S+(S===z.url?(a5.test(z.url)?"&":"?")+"_="+R:"")}}if(z.data&&z.hasContent&&z.contentType!==!1||d.contentType){G["Content-Type"]=z.contentType}z.ifModified&&(F=F||z.url,b8.lastModified[F]&&(G["If-Modified-Since"]=b8.lastModified[F]),b8.etag[F]&&(G["If-None-Match"]=b8.etag[F])),G.Accept=z.dataTypes[0]&&z.accepts[z.dataTypes[0]]?z.accepts[z.dataTypes[0]]+(z.dataTypes[0]!=="*"?", */*; q=0.01":""):z.accepts["*"];for(O in z.headers){P.setRequestHeader(O,z.headers[O])}if(z.beforeSend&&(z.beforeSend.call(A,P,z)===!1||M===2)){P.abort();return !1}for(O in {success:1,error:1,complete:1}){P[O](z[O])}J=aK(aA,z,d,P);if(J){P.readyState=1,N&&B.trigger("ajaxSend",[P,z]),z.async&&z.timeout>0&&(K=setTimeout(function(){P.abort("timeout")},z.timeout));try{M=1,J.send(G,Q)}catch(T){status<2?Q(-1,T):b8.error(T)}}else{Q(-1,"No Transport")}return P},param:function(b,d){var h=[],i=function(c,e){e=b8.isFunction(e)?e():e,h[h.length]=encodeURIComponent(c)+"="+encodeURIComponent(e)};d===ae&&(d=b8.ajaxSettings.traditional);if(b8.isArray(b)||b.jquery&&!b8.isPlainObject(b)){b8.each(b,function(){i(this.name,this.value)})}else{for(var j in b){aM(j,b[j],d,i)}}return h.join("&").replace(aN,"+")}}),b8.extend({active:0,lastModified:{},etag:{}});var aS=b8.now(),aU=/(\=)\?(&|$)|()\?\?()/i;b8.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return b8.expando+"_"+aS++}}),b8.ajaxPrefilter("json jsonp",function(a,d,n){var o=typeof a.data==="string";if(a.dataTypes[0]==="jsonp"||d.jsonpCallback||d.jsonp!=null||a.jsonp!==!1&&(aU.test(a.url)||o&&aU.test(a.data))){var p,q=a.jsonpCallback=b8.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,r=ac[q],s=a.url,t=a.data,u="$1"+q+"$2",v=function(){ac[q]=r,p&&b8.isFunction(r)&&ac[q](p[0])};a.jsonp!==!1&&(s=s.replace(aU,u),a.url===s&&(o&&(t=t.replace(aU,u)),a.data===t&&(s+=(/\?/.test(s)?"&":"?")+a.jsonp+"="+q))),a.url=s,a.data=t,ac[q]=function(b){p=[b]},n.then(v,v),a.converters["script json"]=function(){p||b8.error(q+" was not called");return p[0]},a.dataTypes[0]="json";return"script"}}),b8.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(b){b8.globalEval(b);return b}}}),b8.ajaxPrefilter("script",function(b){b.cache===ae&&(b.cache=!1),b.crossDomain&&(b.type="GET",b.global=!1)}),b8.ajaxTransport("script",function(b){if(b.crossDomain){var c,f=a9.head||a9.getElementsByTagName("head")[0]||a9.documentElement;return{send:function(a,d){c=a9.createElement("script"),c.async="async",b.scriptCharset&&(c.charset=b.scriptCharset),c.src=b.url,c.onload=c.onreadystatechange=function(e,g){if(!c.readyState||/loaded|complete/.test(c.readyState)){c.onload=c.onreadystatechange=null,f&&c.parentNode&&f.removeChild(c),c=ae,g||d(200,"success")}},f.insertBefore(c,f.firstChild)},abort:function(){c&&c.onload(0,1)}}}});var aW=b8.now(),aY,a0;b8.ajaxSettings.xhr=ac.ActiveXObject?function(){return !this.isLocal&&a4()||a6()}:a4,a0=b8.ajaxSettings.xhr(),b8.support.ajax=!!a0,b8.support.cors=a0&&"withCredentials" in a0,a0=ae,b8.support.ajax&&b8.ajaxTransport(function(b){if(!b.crossDomain||b8.support.cors){var d;return{send:function(a,c){var k=b.xhr(),l,m;b.username?k.open(b.type,b.url,b.async,b.username,b.password):k.open(b.type,b.url,b.async);if(b.xhrFields){for(m in b.xhrFields){k[m]=b.xhrFields[m]}}b.mimeType&&k.overrideMimeType&&k.overrideMimeType(b.mimeType),(!b.crossDomain||b.hasContent)&&!a["X-Requested-With"]&&(a["X-Requested-With"]="XMLHttpRequest");try{for(m in a){k.setRequestHeader(m,a[m])}}catch(n){}k.send(b.hasContent&&b.data||null),d=function(f,g){var h,q,r,s,t;try{if(d&&(g||k.readyState===4)){d=ae,l&&(k.onreadystatechange=b8.noop,delete aY[l]);if(g){k.readyState!==4&&k.abort()}else{h=k.status,r=k.getAllResponseHeaders(),s={},t=k.responseXML,t&&t.documentElement&&(s.xml=t),s.text=k.responseText;try{q=k.statusText}catch(u){q=""}h||!b.isLocal||b.crossDomain?h===1223&&(h=204):h=s.text?200:404}}}catch(v){g||c(-1,v)}s&&c(h,q,s,r)},b.async&&k.readyState!==4?(aY||(aY={},a2()),l=aW++,k.onreadystatechange=aY[l]=d):d()},abort:function(){d&&d(0,1)}}}});var a8={},ag=/^(?:toggle|show|hide)$/,ah=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,b1,b2=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];b8.fn.extend({show:function(d,i,j){var k,l;if(d||d===0){return this.animate(b3("show",3),d,i,j)}for(var m=0,n=this.length;m<n;m++){k=this[m],l=k.style.display,!b8._data(k,"olddisplay")&&l==="none"&&(l=k.style.display=""),l===""&&b8.css(k,"display")==="none"&&b8._data(k,"olddisplay",b4(k.nodeName))}for(m=0;m<n;m++){k=this[m],l=k.style.display;if(l===""||l==="none"){k.style.display=b8._data(k,"olddisplay")||""}}return this},hide:function(d,h,i){if(d||d===0){return this.animate(b3("hide",3),d,h,i)}for(var j=0,k=this.length;j<k;j++){var l=b8.css(this[j],"display");l!=="none"&&!b8._data(this[j],"olddisplay")&&b8._data(this[j],"olddisplay",l)}for(j=0;j<k;j++){this[j].style.display="none"}return this},_toggle:b8.fn.toggle,toggle:function(d,f,g){var h=typeof d==="boolean";b8.isFunction(d)&&b8.isFunction(f)?this._toggle.apply(this,arguments):d==null||h?this.each(function(){var a=h?d:b8(this).is(":hidden");b8(this)[a?"show":"hide"]()}):this.animate(b3("toggle",3),d,f,g);return this},fadeTo:function(e,f,g,h){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:f},e,g,h)},animate:function(d,g,h,i){var j=b8.speed(g,h,i);if(b8.isEmptyObject(d)){return this.each(j.complete)}return this[j.queue===!1?"each":"queue"](function(){var a=b8.extend({},j),f,k=this.nodeType===1,l=k&&b8(this).is(":hidden"),m=this;for(f in d){var n=b8.camelCase(f);f!==n&&(d[n]=d[f],delete d[f],f=n);if(d[f]==="hide"&&l||d[f]==="show"&&!l){return a.complete.call(this)}if(k&&(f==="height"||f==="width")){a.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(b8.css(this,"display")==="inline"&&b8.css(this,"float")==="none"){if(b8.support.inlineBlockNeedsLayout){var o=b4(this.nodeName);o==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)}else{this.style.display="inline-block"}}}b8.isArray(d[f])&&((a.specialEasing=a.specialEasing||{})[f]=d[f][1],d[f]=d[f][0])}a.overflow!=null&&(this.style.overflow="hidden"),a.curAnim=b8.extend({},d),b8.each(d,function(b,p){var q=new b8.fx(m,a,b);if(ag.test(p)){q[p==="toggle"?l?"show":"hide":p](d)}else{var r=ah.exec(p),s=q.cur();if(r){var t=parseFloat(r[2]),u=r[3]||(b8.cssNumber[b]?"":"px");u!=="px"&&(b8.style(m,b,(t||1)+u),s=(t||1)/q.cur()*s,b8.style(m,b,s+u)),r[1]&&(t=(r[1]==="-="?-1:1)*t+s),q.custom(s,t,u)}else{q.custom(s,p,"")}}});return !0})},stop:function(d,e){var f=b8.timers;d&&this.queue([]),this.each(function(){for(var b=f.length-1;b>=0;b--){f[b].elem===this&&(e&&f[b](!0),f.splice(b,1))}}),e||this.dequeue();return this}}),b8.each({slideDown:b3("show",1),slideUp:b3("hide",1),slideToggle:b3("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(c,d){b8.fn[c]=function(b,e,f){return this.animate(d,b,e,f)}}),b8.extend({speed:function(d,f,g){var h=d&&typeof d==="object"?b8.extend({},d):{complete:g||!g&&f||b8.isFunction(d)&&d,duration:d,easing:g&&f||f&&!b8.isFunction(f)&&f};h.duration=b8.fx.off?0:typeof h.duration==="number"?h.duration:h.duration in b8.fx.speeds?b8.fx.speeds[h.duration]:b8.fx.speeds._default,h.old=h.complete,h.complete=function(){h.queue!==!1&&b8(this).dequeue(),b8.isFunction(h.old)&&h.old.call(this)};return h},easing:{linear:function(e,f,g,h){return g+h*e},swing:function(e,f,g,h){return(-Math.cos(e*Math.PI)/2+0.5)*h+g}},timers:[],fx:function(d,e,f){this.options=e,this.elem=d,this.prop=f,e.orig||(e.orig={})}}),b8.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(b8.fx.step[this.prop]||b8.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var c,d=b8.css(this.elem,this.prop);return isNaN(c=parseFloat(d))?!d||d==="auto"?0:d:c},custom:function(d,h,i){function l(b){return j.step(b)}var j=this,k=b8.fx;this.startTime=b8.now(),this.start=d,this.end=h,this.unit=i||this.unit||(b8.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,l.elem=this.elem,l()&&b8.timers.push(l)&&!b1&&(b1=setInterval(k.tick,k.interval))},show:function(){this.options.orig[this.prop]=b8.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),b8(this.elem).show()},hide:function(){this.options.orig[this.prop]=b8.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(d){var l=b8.now(),m=!0;if(d||l>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;for(var n in this.options.curAnim){this.options.curAnim[n]!==!0&&(m=!1)}if(m){if(this.options.overflow!=null&&!b8.support.shrinkWrapBlocks){var o=this.elem,p=this.options;b8.each(["","X","Y"],function(c,e){o.style["overflow"+e]=p.overflow[c]})}this.options.hide&&b8(this.elem).hide();if(this.options.hide||this.options.show){for(var q in this.options.curAnim){b8.style(this.elem,q,this.options.orig[q])}}this.options.complete.call(this.elem)}return !1}var r=l-this.startTime;this.state=r/this.options.duration;var s=this.options.specialEasing&&this.options.specialEasing[this.prop],t=this.options.easing||(b8.easing.swing?"swing":"linear");this.pos=b8.easing[s||t](this.state,r,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return !0}},b8.extend(b8.fx,{tick:function(){var c=b8.timers;for(var d=0;d<c.length;d++){c[d]()||c.splice(d--,1)}c.length||b8.fx.stop()},interval:13,stop:function(){clearInterval(b1),b1=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(b){b8.style(b.elem,"opacity",b.now)},_default:function(b){b.elem.style&&b.elem.style[b.prop]!=null?b.elem.style[b.prop]=(b.prop==="width"||b.prop==="height"?Math.max(0,b.now):b.now)+b.unit:b.elem[b.prop]=b.now}}}),b8.expr&&b8.expr.filters&&(b8.expr.filters.animated=function(b){return b8.grep(b8.timers,function(a){return b===a.elem}).length});var b5=/^t(?:able|d|h)$/i,b6=/^(?:body|html)$/i;"getBoundingClientRect" in a9.documentElement?b8.fn.offset=function(d){var p=this[0],q;if(d){return this.each(function(a){b8.offset.setOffset(this,d,a)})}if(!p||!p.ownerDocument){return null}if(p===p.ownerDocument.body){return b8.offset.bodyOffset(p)}try{q=p.getBoundingClientRect()}catch(r){}var s=p.ownerDocument,t=s.documentElement;if(!q||!b8.contains(t,p)){return q?{top:q.top,left:q.left}:{top:0,left:0}}var u=s.body,v=b7(s),w=t.clientTop||u.clientTop||0,x=t.clientLeft||u.clientLeft||0,y=v.pageYOffset||b8.support.boxModel&&t.scrollTop||u.scrollTop,z=v.pageXOffset||b8.support.boxModel&&t.scrollLeft||u.scrollLeft,A=q.top+y-w,B=q.left+z-x;return{top:A,left:B}}:b8.fn.offset=function(d){var n=this[0];if(d){return this.each(function(a){b8.offset.setOffset(this,d,a)})}if(!n||!n.ownerDocument){return null}if(n===n.ownerDocument.body){return b8.offset.bodyOffset(n)}b8.offset.initialize();var o,p=n.offsetParent,q=n,r=n.ownerDocument,s=r.documentElement,t=r.body,u=r.defaultView,v=u?u.getComputedStyle(n,null):n.currentStyle,w=n.offsetTop,x=n.offsetLeft;while((n=n.parentNode)&&n!==t&&n!==s){if(b8.offset.supportsFixedPosition&&v.position==="fixed"){break}o=u?u.getComputedStyle(n,null):n.currentStyle,w-=n.scrollTop,x-=n.scrollLeft,n===p&&(w+=n.offsetTop,x+=n.offsetLeft,b8.offset.doesNotAddBorder&&(!b8.offset.doesAddBorderForTableAndCells||!b5.test(n.nodeName))&&(w+=parseFloat(o.borderTopWidth)||0,x+=parseFloat(o.borderLeftWidth)||0),q=p,p=n.offsetParent),b8.offset.subtractsBorderForOverflowNotVisible&&o.overflow!=="visible"&&(w+=parseFloat(o.borderTopWidth)||0,x+=parseFloat(o.borderLeftWidth)||0),v=o}if(v.position==="relative"||v.position==="static"){w+=t.offsetTop,x+=t.offsetLeft}b8.offset.supportsFixedPosition&&v.position==="fixed"&&(w+=Math.max(s.scrollTop,t.scrollTop),x+=Math.max(s.scrollLeft,t.scrollLeft));return{top:w,left:x}},b8.offset={initialize:function(){var c=a9.body,d=a9.createElement("div"),k,l,m,n,o=parseFloat(b8.css(c,"marginTop"))||0,p="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";b8.extend(d.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),d.innerHTML=p,c.insertBefore(d,c.firstChild),k=d.firstChild,l=k.firstChild,n=k.nextSibling.firstChild.firstChild,this.doesNotAddBorder=l.offsetTop!==5,this.doesAddBorderForTableAndCells=n.offsetTop===5,l.style.position="fixed",l.style.top="20px",this.supportsFixedPosition=l.offsetTop===20||l.offsetTop===15,l.style.position=l.style.top="",k.style.overflow="hidden",k.style.position="relative",this.subtractsBorderForOverflowNotVisible=l.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=c.offsetTop!==o,c.removeChild(d),c=d=k=l=m=n=null,b8.offset.initialize=b8.noop},bodyOffset:function(d){var e=d.offsetTop,f=d.offsetLeft;b8.offset.initialize(),b8.offset.doesNotIncludeMarginInBodyOffset&&(e+=parseFloat(b8.css(d,"marginTop"))||0,f+=parseFloat(b8.css(d,"marginLeft"))||0);return{top:e,left:f}},setOffset:function(d,o,p){var q=b8.css(d,"position");q==="static"&&(d.style.position="relative");var r=b8(d),s=r.offset(),t=b8.css(d,"top"),u=b8.css(d,"left"),v=q==="absolute"&&b8.inArray("auto",[t,u])>-1,w={},x={},y,z;v&&(x=r.position()),y=v?x.top:parseInt(t,10)||0,z=v?x.left:parseInt(u,10)||0,b8.isFunction(o)&&(o=o.call(d,p,s)),o.top!=null&&(w.top=o.top-s.top+y),o.left!=null&&(w.left=o.left-s.left+z),"using" in o?o.using.call(d,w):r.css(w)}},b8.fn.extend({position:function(){if(!this[0]){return null}var d=this[0],f=this.offsetParent(),g=this.offset(),h=b6.test(f[0].nodeName)?{top:0,left:0}:f.offset();g.top-=parseFloat(b8.css(d,"marginTop"))||0,g.left-=parseFloat(b8.css(d,"marginLeft"))||0,h.top+=parseFloat(b8.css(f[0],"borderTopWidth"))||0,h.left+=parseFloat(b8.css(f[0],"borderLeftWidth"))||0;return{top:g.top-h.top,left:g.left-h.left}},offsetParent:function(){return this.map(function(){var b=this.offsetParent||a9.body;while(b&&(!b6.test(b.nodeName)&&b8.css(b,"position")==="static")){b=b.offsetParent}return b})}}),b8.each(["Left","Top"],function(b,d){var f="scroll"+d;b8.fn[f]=function(a){var e=this[0],h;if(!e){return null}if(a!==ae){return this.each(function(){h=b7(this),h?h.scrollTo(b?b8(h).scrollLeft():a,b?a:b8(h).scrollTop()):this[f]=a})}h=b7(e);return h?"pageXOffset" in h?h[b?"pageYOffset":"pageXOffset"]:b8.support.boxModel&&h.document.documentElement[f]||h.document.body[f]:e[f]}}),b8.each(["Height","Width"],function(b,d){var f=d.toLowerCase();b8.fn["inner"+d]=function(){return this[0]?parseFloat(b8.css(this[0],f,"padding")):null},b8.fn["outer"+d]=function(c){return this[0]?parseFloat(b8.css(this[0],f,c?"margin":"border")):null},b8.fn[f]=function(c){var e=this[0];if(!e){return c==null?null:this}if(b8.isFunction(c)){return this.each(function(a){var g=b8(this);g[f](c.call(this,a,g[f]()))})}if(b8.isWindow(e)){var j=e.document.documentElement["client"+d];return e.document.compatMode==="CSS1Compat"&&j||e.document.body["client"+d]||j}if(e.nodeType===9){return Math.max(e.documentElement["client"+d],e.body["scroll"+d],e.documentElement["scroll"+d],e.body["offset"+d],e.documentElement["offset"+d])}if(c===ae){var k=b8.css(e,f),l=parseFloat(k);return b8.isNaN(l)?k:l}return this.css(f,typeof c==="string"?c:c+"px")}}),ac.jQuery=ac.$=b8})(window);(function(a,c){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.13",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==c){return this.css("zIndex",h)}if(this.length){var e=a(this[0]),f,g;while(e.length&&e[0]!==document){f=e.css("position");if(f==="absolute"||f==="relative"||f==="fixed"){g=parseInt(e.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}e=e.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(e,f){var j=f==="Width"?["Left","Right"]:["Top","Bottom"],k=f.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function h(l,n,i,m){a.each(j,function(){n-=parseFloat(a.curCSS(l,"padding"+this,true))||0;if(i){n-=parseFloat(a.curCSS(l,"border"+this+"Width",true))||0}if(m){n-=parseFloat(a.curCSS(l,"margin"+this,true))||0}});return n}a.fn["inner"+f]=function(i){if(i===c){return g["inner"+f].call(this)}return this.each(function(){a(this).css(k,h(this,i)+"px")})};a.fn["outer"+f]=function(l,i){if(typeof l!=="number"){return g["outer"+f].call(this,l)}return this.each(function(){a(this).css(k,h(this,l,true,i)+"px")})}});function b(e,g){var j=e.nodeName.toLowerCase();if("area"===j){var h=e.parentNode,i=h.name,f;if(!e.href||!i||h.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+i+"]")[0];return !!f&&d(f)}return(/input|select|textarea|button|object/.test(j)?!e.disabled:"a"==j?e.href||g:g)&&d(e)}function d(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(e,f,g){return !!a.data(e,g[3])},focusable:function(e){return b(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(e){var g=a.attr(e,"tabindex"),f=isNaN(g);return(f||g>=0)&&b(e,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(g,h,e){var j=g.plugins[h];if(!j||!g.element[0].parentNode){return}for(var f=0;f<j.length;f++){if(g.options[j[f][0]]){j[f][1].apply(g.element,e)}}}},contains:function(e,f){return document.compareDocumentPosition?e.compareDocumentPosition(f)&16:e!==f&&e.contains(f)},hasScroll:function(f,e){if(a(f).css("overflow")==="hidden"){return false}var h=(e&&e==="left")?"scrollLeft":"scrollTop",g=false;if(f[h]>0){return true}f[h]=1;g=(f[h]>0);f[h]=0;return g},isOverAxis:function(g,e,f){return(g>e)&&(g<(e+f))},isOver:function(j,i,g,f,e,h){return a.ui.isOverAxis(j,g,e)&&a.ui.isOverAxis(i,f,h)}})})(jQuery);(function(a,d){if(a.cleanData){var b=a.cleanData;a.cleanData=function(f){for(var g=0,e;(e=f[g])!=null;g++){a(e).triggerHandler("remove")}b(f)}}else{var c=a.fn.remove;a.fn.remove=function(f,e){return this.each(function(){if(!e){if(!f||a.filter(f,[this]).length){a("*",this).add([this]).each(function(){a(this).triggerHandler("remove")})}}return c.call(a(this),f,e)})}}a.widget=function(h,e,j){var i=h.split(".")[0],g;h=h.split(".")[1];g=i+"-"+h;if(!j){j=e;e=a.Widget}a.expr[":"][g]=function(k){return !!a.data(k,h)};a[i]=a[i]||{};a[i][h]=function(l,k){if(arguments.length){this._createWidget(l,k)}};var f=new e();f.options=a.extend(true,{},f.options);a[i][h].prototype=a.extend(true,f,{namespace:i,widgetName:h,widgetEventPrefix:a[i][h].prototype.widgetEventPrefix||h,widgetBaseClass:g},j);a.widget.bridge(h,a[i][h])};a.widget.bridge=function(e,f){a.fn[e]=function(i){var h=typeof i==="string",g=Array.prototype.slice.call(arguments,1),j=this;i=!h&&g.length?a.extend.apply(null,[true,i].concat(g)):i;if(h&&i.charAt(0)==="_"){return j}if(h){this.each(function(){var k=a.data(this,e),l=k&&a.isFunction(k[i])?k[i].apply(k,g):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=a.data(this,e);if(k){k.option(i||{})._init()}else{a.data(this,e,new f(i,this))}})}return j}};a.Widget=function(f,e){if(arguments.length){this._createWidget(f,e)}};a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,e){a.data(e,this.widgetName,this);this.element=a(e);this.options=a.extend(true,{},this.options,this._getCreateOptions(),f);var g=this;this.element.bind("remove."+this.widgetName,function(){g.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return a.metadata&&a.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(e,g){var f=e;if(arguments.length===0){return a.extend({},this.options)}if(typeof e==="string"){if(g===d){return this.options[e]}f={};f[e]=g}this._setOptions(f);return this},_setOptions:function(e){var f=this;a.each(e,function(g,h){f._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(k,g,f){var e=this.options[k];g=a.Event(g);g.type=(k===this.widgetEventPrefix?k:this.widgetEventPrefix+k).toLowerCase();f=f||{};if(g.originalEvent){for(var h=a.event.props.length,j;h;){j=a.event.props[--h];g[j]=g.originalEvent[j]}}this.element.trigger(g,f);return !(a.isFunction(e)&&e.call(this.element[0],g,f)===false||g.isDefaultPrevented())}}})(jQuery);(function(a,c){var b=false;a(document).mousedown(function(d){b=false});a.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===a.data(e.target,d.widgetName+".preventClickEvent")){a.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(b){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var g=this,d=(f.which==1),e=(typeof this.options.cancel=="string"?a(f.target).parents().add(f.target).filter(this.options.cancel).length:false);if(!d||e||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){g.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===a.data(f.target,this.widgetName+".preventClickEvent")){a.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return g._mouseMove(h)};this._mouseUpDelegate=function(h){return g._mouseUp(h)};a(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();b=true;return true},_mouseMove:function(d){if(a.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){a.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(a,f){a.ui=a.ui||{};var e=/left|center|right/,g=/top|center|bottom/,d="center",c=a.fn.position,b=a.fn.offset;a.fn.position=function(k){if(!k||!k.of){return c.apply(this,arguments)}k=a.extend({},k);var l=a(k.of),m=l[0],i=(k.collision||"flip").split(" "),j=k.offset?k.offset.split(" "):[0,0],o,n,h;if(m.nodeType===9){o=l.width();n=l.height();h={top:0,left:0}}else{if(m.setTimeout){o=l.width();n=l.height();h={top:l.scrollTop(),left:l.scrollLeft()}}else{if(m.preventDefault){k.at="left top";o=n=0;h={top:k.of.pageY,left:k.of.pageX}}else{o=l.outerWidth();n=l.outerHeight();h=l.offset()}}}a.each(["my","at"],function(){var p=(k[this]||"").split(" ");if(p.length===1){p=e.test(p[0])?p.concat([d]):g.test(p[0])?[d].concat(p):[d,d]}p[0]=e.test(p[0])?p[0]:d;p[1]=g.test(p[1])?p[1]:d;k[this]=p});if(i.length===1){i[1]=i[0]}j[0]=parseInt(j[0],10)||0;if(j.length===1){j[1]=j[0]}j[1]=parseInt(j[1],10)||0;if(k.at[0]==="right"){h.left+=o}else{if(k.at[0]===d){h.left+=o/2}}if(k.at[1]==="bottom"){h.top+=n}else{if(k.at[1]===d){h.top+=n/2}}h.left+=j[0];h.top+=j[1];return this.each(function(){var s=a(this),u=s.outerWidth(),t=s.outerHeight(),v=parseInt(a.curCSS(this,"marginLeft",true))||0,w=parseInt(a.curCSS(this,"marginTop",true))||0,r=u+v+(parseInt(a.curCSS(this,"marginRight",true))||0),p=t+w+(parseInt(a.curCSS(this,"marginBottom",true))||0),x=a.extend({},h),q;if(k.my[0]==="right"){x.left-=u}else{if(k.my[0]===d){x.left-=u/2}}if(k.my[1]==="bottom"){x.top-=t}else{if(k.my[1]===d){x.top-=t/2}}x.left=Math.round(x.left);x.top=Math.round(x.top);q={left:x.left-v,top:x.top-w};a.each(["left","top"],function(z,y){if(a.ui.position[i[z]]){a.ui.position[i[z]][y](x,{targetWidth:o,targetHeight:n,elemWidth:u,elemHeight:t,collisionPosition:q,collisionWidth:r,collisionHeight:p,offset:j,my:k.my,at:k.at})}});if(a.fn.bgiframe){s.bgiframe()}s.offset(a.extend(x,{using:k.using}))})};a.ui.position={fit:{left:function(j,h){var k=a(window),i=h.collisionPosition.left+h.collisionWidth-k.width()-k.scrollLeft();j.left=i>0?j.left-i:Math.max(j.left-h.collisionPosition.left,j.left)},top:function(j,h){var k=a(window),i=h.collisionPosition.top+h.collisionHeight-k.height()-k.scrollTop();j.top=i>0?j.top-i:Math.max(j.top-h.collisionPosition.top,j.top)}},flip:{left:function(m,i){if(i.at[0]===d){return}var n=a(window),l=i.collisionPosition.left+i.collisionWidth-n.width()-n.scrollLeft(),j=i.my[0]==="left"?-i.elemWidth:i.my[0]==="right"?i.elemWidth:0,h=i.at[0]==="left"?i.targetWidth:-i.targetWidth,k=-2*i.offset[0];m.left+=i.collisionPosition.left<0?j+h+k:l>0?j+h+k:0},top:function(m,i){if(i.at[1]===d){return}var n=a(window),l=i.collisionPosition.top+i.collisionHeight-n.height()-n.scrollTop(),j=i.my[1]==="top"?-i.elemHeight:i.my[1]==="bottom"?i.elemHeight:0,h=i.at[1]==="top"?i.targetHeight:-i.targetHeight,k=-2*i.offset[1];m.top+=i.collisionPosition.top<0?j+h+k:l>0?j+h+k:0}}};if(!a.offset.setOffset){a.offset.setOffset=function(l,m){if(/static/.test(a.curCSS(l,"position"))){l.style.position="relative"}var h=a(l),j=h.offset(),k=parseInt(a.curCSS(l,"top",true),10)||0,i=parseInt(a.curCSS(l,"left",true),10)||0,n={top:(m.top-j.top)+k,left:(m.left-j.left)+i};if("using" in m){m.using.call(l,n)}else{h.css(n)}};a.fn.offset=function(i){var h=this[0];if(!h||!h.ownerDocument){return null}if(i){return this.each(function(){a.offset.setOffset(this,i)})}return b.call(this)}}}(jQuery));(function(a,b){a.widget("ui.draggable",a.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper=="original"&&!(/^(?:r|a|f)/).test(this.element.css("position"))){this.element[0].style.position="relative"}(this.options.addClasses&&this.element.addClass("ui-draggable"));(this.options.disabled&&this.element.addClass("ui-draggable-disabled"));this._mouseInit()},destroy:function(){if(!this.element.data("draggable")){return}this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy();return this},_mouseCapture:function(c){var d=this.options;if(this.helper||d.disabled||a(c.target).is(".ui-resizable-handle")){return false}this.handle=this._getHandle(c);if(!this.handle){return false}a(d.iframeFix===true?"iframe":d.iframeFix).each(function(){a('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1000}).css(a(this).offset()).appendTo("body")});return true},_mouseStart:function(c){var d=this.options;this.helper=this._createHelper(c);this._cacheHelperProportions();if(a.ui.ddmanager){a.ui.ddmanager.current=this}this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};a.extend(this.offset,{click:{left:c.pageX-this.offset.left,top:c.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition(c);this.originalPageX=c.pageX;this.originalPageY=c.pageY;(d.cursorAt&&this._adjustOffsetFromHelper(d.cursorAt));if(d.containment){this._setContainment()}if(this._trigger("start",c)===false){this._clear();return false}this._cacheHelperProportions();if(a.ui.ddmanager&&!d.dropBehaviour){a.ui.ddmanager.prepareOffsets(this,c)}this.helper.addClass("ui-draggable-dragging");this._mouseDrag(c,true);return true},_mouseDrag:function(c,d){this.position=this._generatePosition(c);this.positionAbs=this._convertPositionTo("absolute");if(!d){var e=this._uiHash();if(this._trigger("drag",c,e)===false){this._mouseUp({});return false}this.position=e.position}if(!this.options.axis||this.options.axis!="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!="x"){this.helper[0].style.top=this.position.top+"px"}if(a.ui.ddmanager){a.ui.ddmanager.drag(this,c)}return false},_mouseStop:function(d){var c=false;if(a.ui.ddmanager&&!this.options.dropBehaviour){c=a.ui.ddmanager.drop(this,d)}if(this.dropped){c=this.dropped;this.dropped=false}if((!this.element[0]||!this.element[0].parentNode)&&this.options.helper=="original"){return false}if((this.options.revert=="invalid"&&!c)||(this.options.revert=="valid"&&c)||this.options.revert===true||(a.isFunction(this.options.revert)&&this.options.revert.call(this.element,c))){var e=this;a(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){if(e._trigger("stop",d)!==false){e._clear()}})}else{if(this._trigger("stop",d)!==false){this._clear()}}return false},_mouseUp:function(c){if(this.options.iframeFix===true){a("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}return a.ui.mouse.prototype._mouseUp.call(this,c)},cancel:function(){if(this.helper.is(".ui-draggable-dragging")){this._mouseUp({})}else{this._clear()}return this},_getHandle:function(c){var d=!this.options.handle||!a(this.options.handle,this.element).length?true:false;a(this.options.handle,this.element).find("*").andSelf().each(function(){if(this==c.target){d=true}});return d},_createHelper:function(c){var e=this.options;var d=a.isFunction(e.helper)?a(e.helper.apply(this.element[0],[c])):(e.helper=="clone"?this.element.clone().removeAttr("id"):this.element);if(!d.parents("body").length){d.appendTo((e.appendTo=="parent"?this.element[0].parentNode:e.appendTo))}if(d[0]!=this.element[0]&&!(/(fixed|absolute)/).test(d.css("position"))){d.css("position","absolute")}return d},_adjustOffsetFromHelper:function(c){if(typeof c=="string"){c=c.split(" ")}if(a.isArray(c)){c={left:+c[0],top:+c[1]||0}}if("left" in c){this.offset.click.left=c.left+this.margins.left}if("right" in c){this.offset.click.left=this.helperProportions.width-c.right+this.margins.left}if("top" in c){this.offset.click.top=c.top+this.margins.top}if("bottom" in c){this.offset.click.top=this.helperProportions.height-c.bottom+this.margins.top}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var c=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0])){c.left+=this.scrollParent.scrollLeft();c.top+=this.scrollParent.scrollTop()}if((this.offsetParent[0]==document.body)||(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&a.browser.msie)){c={top:0,left:0}}return{top:c.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:c.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var c=this.element.position();return{top:c.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:c.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:(parseInt(this.element.css("marginLeft"),10)||0),top:(parseInt(this.element.css("marginTop"),10)||0),right:(parseInt(this.element.css("marginRight"),10)||0),bottom:(parseInt(this.element.css("marginBottom"),10)||0)}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var g=this.options;if(g.containment=="parent"){g.containment=this.helper[0].parentNode}if(g.containment=="document"||g.containment=="window"){this.containment=[(g.containment=="document"?0:a(window).scrollLeft())-this.offset.relative.left-this.offset.parent.left,(g.containment=="document"?0:a(window).scrollTop())-this.offset.relative.top-this.offset.parent.top,(g.containment=="document"?0:a(window).scrollLeft())+a(g.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(g.containment=="document"?0:a(window).scrollTop())+(a(g.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]}if(!(/^(document|window|parent)$/).test(g.containment)&&g.containment.constructor!=Array){var d=a(g.containment);var e=d[0];if(!e){return}var f=d.offset();var h=(a(e).css("overflow")!="hidden");this.containment=[(parseInt(a(e).css("borderLeftWidth"),10)||0)+(parseInt(a(e).css("paddingLeft"),10)||0),(parseInt(a(e).css("borderTopWidth"),10)||0)+(parseInt(a(e).css("paddingTop"),10)||0),(h?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(a(e).css("borderLeftWidth"),10)||0)-(parseInt(a(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(h?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(a(e).css("borderTopWidth"),10)||0)-(parseInt(a(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom];this.relative_container=d}else{if(g.containment.constructor==Array){this.containment=g.containment}}},_convertPositionTo:function(c,g){if(!g){g=this.position}var e=c=="absolute"?1:-1;var f=this.options,h=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,i=(/(html|body)/i).test(h[0].tagName);return{top:(g.top+this.offset.relative.top*e+this.offset.parent.top*e-(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(i?0:h.scrollTop()))*e)),left:(g.left+this.offset.relative.left*e+this.offset.parent.left*e-(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():i?0:h.scrollLeft())*e))}},_generatePosition:function(e){var g=this.options,j=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,k=(/(html|body)/i).test(j[0].tagName);var h=e.pageX;var i=e.pageY;if(this.originalPosition){var d;if(this.containment){if(this.relative_container){var c=this.relative_container.offset();d=[this.containment[0]+c.left,this.containment[1]+c.top,this.containment[2]+c.left,this.containment[3]+c.top]}else{d=this.containment}if(e.pageX-this.offset.click.left<d[0]){h=d[0]+this.offset.click.left}if(e.pageY-this.offset.click.top<d[1]){i=d[1]+this.offset.click.top}if(e.pageX-this.offset.click.left>d[2]){h=d[2]+this.offset.click.left}if(e.pageY-this.offset.click.top>d[3]){i=d[3]+this.offset.click.top}}if(g.grid){var l=this.originalPageY+Math.round((i-this.originalPageY)/g.grid[1])*g.grid[1];i=d?(!(l-this.offset.click.top<d[1]||l-this.offset.click.top>d[3])?l:(!(l-this.offset.click.top<d[1])?l-g.grid[1]:l+g.grid[1])):l;var f=this.originalPageX+Math.round((h-this.originalPageX)/g.grid[0])*g.grid[0];h=d?(!(f-this.offset.click.left<d[0]||f-this.offset.click.left>d[2])?f:(!(f-this.offset.click.left<d[0])?f-g.grid[0]:f+g.grid[0])):f}}return{top:(i-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(k?0:j.scrollTop())))),left:(h-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():k?0:j.scrollLeft())))}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");if(this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval){this.helper.remove()}this.helper=null;this.cancelHelperRemoval=false},_trigger:function(d,c,e){e=e||this._uiHash();a.ui.plugin.call(this,d,[c,e]);if(d=="drag"){this.positionAbs=this._convertPositionTo("absolute")}return a.Widget.prototype._trigger.call(this,d,c,e)},plugins:{},_uiHash:function(c){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});a.extend(a.ui.draggable,{version:"1.8.13"});a.ui.plugin.add("draggable","connectToSortable",{start:function(c,f){var d=a(this).data("draggable"),e=d.options,g=a.extend({},f,{item:d.element});d.sortables=[];a(e.connectToSortable).each(function(){var h=a.data(this,"sortable");if(h&&!h.options.disabled){d.sortables.push({instance:h,shouldRevert:h.options.revert});h.refreshPositions();h._trigger("activate",c,g)}})},stop:function(c,e){var d=a(this).data("draggable"),f=a.extend({},e,{item:d.element});a.each(d.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;d.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert){this.instance.options.revert=true}this.instance._mouseStop(c);this.instance.options.helper=this.instance.options._helper;if(d.options.helper=="original"){this.instance.currentItem.css({top:"auto",left:"auto"})}}else{this.instance.cancelHelperRemoval=false;this.instance._trigger("deactivate",c,f)}})},drag:function(d,g){var e=a(this).data("draggable"),f=this;var c=function(q){var i=this.offset.click.top,h=this.offset.click.left;var k=this.positionAbs.top,j=this.positionAbs.left;var l=q.height,p=q.width;var n=q.top,m=q.left;return a.ui.isOver(k+i,j+h,n,m,l,p)};a.each(e.sortables,function(h){this.instance.positionAbs=e.positionAbs;this.instance.helperProportions=e.helperProportions;this.instance.offset.click=e.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){if(!this.instance.isOver){this.instance.isOver=1;this.instance.currentItem=a(f).clone().removeAttr("id").appendTo(this.instance.element).data("sortable-item",true);this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return g.helper[0]};d.target=this.instance.currentItem[0];this.instance._mouseCapture(d,true);this.instance._mouseStart(d,true,true);this.instance.offset.click.top=e.offset.click.top;this.instance.offset.click.left=e.offset.click.left;this.instance.offset.parent.left-=e.offset.parent.left-this.instance.offset.parent.left;this.instance.offset.parent.top-=e.offset.parent.top-this.instance.offset.parent.top;e._trigger("toSortable",d);e.dropped=this.instance.element;e.currentItem=e.element;this.instance.fromOutside=e}if(this.instance.currentItem){this.instance._mouseDrag(d)}}else{if(this.instance.isOver){this.instance.isOver=0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger("out",d,this.instance._uiHash(this.instance));this.instance._mouseStop(d,true);this.instance.options.helper=this.instance.options._helper;this.instance.currentItem.remove();if(this.instance.placeholder){this.instance.placeholder.remove()}e._trigger("fromSortable",d);e.dropped=false}}})}});a.ui.plugin.add("draggable","cursor",{start:function(c,f){var e=a("body"),d=a(this).data("draggable").options;if(e.css("cursor")){d._cursor=e.css("cursor")}e.css("cursor",d.cursor)},stop:function(c,e){var d=a(this).data("draggable").options;if(d._cursor){a("body").css("cursor",d._cursor)}}});a.ui.plugin.add("draggable","opacity",{start:function(c,f){var e=a(f.helper),d=a(this).data("draggable").options;if(e.css("opacity")){d._opacity=e.css("opacity")}e.css("opacity",d.opacity)},stop:function(c,e){var d=a(this).data("draggable").options;if(d._opacity){a(e.helper).css("opacity",d._opacity)}}});a.ui.plugin.add("draggable","scroll",{start:function(c,e){var d=a(this).data("draggable");if(d.scrollParent[0]!=document&&d.scrollParent[0].tagName!="HTML"){d.overflowOffset=d.scrollParent.offset()}},drag:function(c,g){var d=a(this).data("draggable"),e=d.options,f=false;if(d.scrollParent[0]!=document&&d.scrollParent[0].tagName!="HTML"){if(!e.axis||e.axis!="x"){if((d.overflowOffset.top+d.scrollParent[0].offsetHeight)-c.pageY<e.scrollSensitivity){d.scrollParent[0].scrollTop=f=d.scrollParent[0].scrollTop+e.scrollSpeed}else{if(c.pageY-d.overflowOffset.top<e.scrollSensitivity){d.scrollParent[0].scrollTop=f=d.scrollParent[0].scrollTop-e.scrollSpeed}}}if(!e.axis||e.axis!="y"){if((d.overflowOffset.left+d.scrollParent[0].offsetWidth)-c.pageX<e.scrollSensitivity){d.scrollParent[0].scrollLeft=f=d.scrollParent[0].scrollLeft+e.scrollSpeed}else{if(c.pageX-d.overflowOffset.left<e.scrollSensitivity){d.scrollParent[0].scrollLeft=f=d.scrollParent[0].scrollLeft-e.scrollSpeed}}}}else{if(!e.axis||e.axis!="x"){if(c.pageY-a(document).scrollTop()<e.scrollSensitivity){f=a(document).scrollTop(a(document).scrollTop()-e.scrollSpeed)}else{if(a(window).height()-(c.pageY-a(document).scrollTop())<e.scrollSensitivity){f=a(document).scrollTop(a(document).scrollTop()+e.scrollSpeed)}}}if(!e.axis||e.axis!="y"){if(c.pageX-a(document).scrollLeft()<e.scrollSensitivity){f=a(document).scrollLeft(a(document).scrollLeft()-e.scrollSpeed)}else{if(a(window).width()-(c.pageX-a(document).scrollLeft())<e.scrollSensitivity){f=a(document).scrollLeft(a(document).scrollLeft()+e.scrollSpeed)}}}}if(f!==false&&a.ui.ddmanager&&!e.dropBehaviour){a.ui.ddmanager.prepareOffsets(d,c)}}});a.ui.plugin.add("draggable","snap",{start:function(c,f){var d=a(this).data("draggable"),e=d.options;d.snapElements=[];a(e.snap.constructor!=String?(e.snap.items||":data(draggable)"):e.snap).each(function(){var h=a(this);var g=h.offset();if(this!=d.element[0]){d.snapElements.push({item:this,width:h.outerWidth(),height:h.outerHeight(),top:g.top,left:g.left})}})},drag:function(g,w){var k=a(this).data("draggable"),p=k.options;var f=p.snapTolerance;var x=w.offset.left,y=x+k.helperProportions.width,z=w.offset.top,A=z+k.helperProportions.height;for(var j=k.snapElements.length-1;j>=0;j--){var m=k.snapElements[j].left,q=m+k.snapElements[j].width,u=k.snapElements[j].top,c=u+k.snapElements[j].height;if(!((m-f<x&&x<q+f&&u-f<z&&z<c+f)||(m-f<x&&x<q+f&&u-f<A&&A<c+f)||(m-f<y&&y<q+f&&u-f<z&&z<c+f)||(m-f<y&&y<q+f&&u-f<A&&A<c+f))){if(k.snapElements[j].snapping){(k.options.snap.release&&k.options.snap.release.call(k.element,g,a.extend(k._uiHash(),{snapItem:k.snapElements[j].item})))}k.snapElements[j].snapping=false;continue}if(p.snapMode!="inner"){var v=Math.abs(u-A)<=f;var e=Math.abs(c-z)<=f;var n=Math.abs(m-y)<=f;var s=Math.abs(q-x)<=f;if(v){w.position.top=k._convertPositionTo("relative",{top:u-k.helperProportions.height,left:0}).top-k.margins.top}if(e){w.position.top=k._convertPositionTo("relative",{top:c,left:0}).top-k.margins.top}if(n){w.position.left=k._convertPositionTo("relative",{top:0,left:m-k.helperProportions.width}).left-k.margins.left}if(s){w.position.left=k._convertPositionTo("relative",{top:0,left:q}).left-k.margins.left}}var h=(v||e||n||s);if(p.snapMode!="outer"){var v=Math.abs(u-z)<=f;var e=Math.abs(c-A)<=f;var n=Math.abs(m-x)<=f;var s=Math.abs(q-y)<=f;if(v){w.position.top=k._convertPositionTo("relative",{top:u,left:0}).top-k.margins.top}if(e){w.position.top=k._convertPositionTo("relative",{top:c-k.helperProportions.height,left:0}).top-k.margins.top}if(n){w.position.left=k._convertPositionTo("relative",{top:0,left:m}).left-k.margins.left}if(s){w.position.left=k._convertPositionTo("relative",{top:0,left:q-k.helperProportions.width}).left-k.margins.left}}if(!k.snapElements[j].snapping&&(v||e||n||s||h)){(k.options.snap.snap&&k.options.snap.snap.call(k.element,g,a.extend(k._uiHash(),{snapItem:k.snapElements[j].item})))}k.snapElements[j].snapping=(v||e||n||s||h)}}});a.ui.plugin.add("draggable","stack",{start:function(c,g){var f=a(this).data("draggable").options;var d=a.makeArray(a(f.stack)).sort(function(h,i){return(parseInt(a(h).css("zIndex"),10)||0)-(parseInt(a(i).css("zIndex"),10)||0)});if(!d.length){return}var e=parseInt(d[0].style.zIndex)||0;a(d).each(function(h){this.style.zIndex=e+h});this[0].style.zIndex=e+d.length}});a.ui.plugin.add("draggable","zIndex",{start:function(c,f){var e=a(f.helper),d=a(this).data("draggable").options;if(e.css("zIndex")){d._zIndex=e.css("zIndex")}e.css("zIndex",d.zIndex)},stop:function(c,e){var d=a(this).data("draggable").options;if(d._zIndex){a(e.helper).css("zIndex",d._zIndex)}}})})(jQuery);(function(a,f){var e="ui-dialog ui-widget ui-widget-content ui-corner-all ",d={buttons:true,height:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,width:true},c={maxHeight:true,maxWidth:true,minHeight:true,minWidth:true},b=a.attrFn||{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true,click:true};a.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:{my:"center",at:"center",collision:"fit",using:function(g){var h=a(this).css(g).offset().top;if(h<0){a(this).css("top",g.top-h)}}},resizable:true,show:null,stack:true,title:"",width:300,zIndex:1000},_create:function(){this.originalTitle=this.element.attr("title");if(typeof this.originalTitle!=="string"){this.originalTitle=""}this.options.title=this.options.title||this.originalTitle;var h=this,g=h.options,i=g.title||"&#160;",j=a.ui.dialog.getTitleId(h.element),k=(h.uiDialog=a("<div></div>")).appendTo(document.body).hide().addClass(e+g.dialogClass).css({zIndex:g.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(q){if(g.closeOnEscape&&q.keyCode&&q.keyCode===a.ui.keyCode.ESCAPE){h.close(q);q.preventDefault()}}).attr({role:"dialog","aria-labelledby":j}).mousedown(function(q){h.moveToTop(false,q)}),l=h.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(k),n=(h.uiDialogTitlebar=a("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(k),o=a('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){o.addClass("ui-state-hover")},function(){o.removeClass("ui-state-hover")}).focus(function(){o.addClass("ui-state-focus")}).blur(function(){o.removeClass("ui-state-focus")}).click(function(q){h.close(q);return false}).appendTo(n),p=(h.uiDialogTitlebarCloseText=a("<span></span>")).addClass("ui-icon ui-icon-closethick").text(g.closeText).appendTo(o),m=a("<span></span>").addClass("ui-dialog-title").attr("id",j).html(i).prependTo(n);if(a.isFunction(g.beforeclose)&&!a.isFunction(g.beforeClose)){g.beforeClose=g.beforeclose}n.find("*").add(n).disableSelection();if(g.draggable&&a.fn.draggable){h._makeDraggable()}if(g.resizable&&a.fn.resizable){h._makeResizable()}h._createButtons(g.buttons);h._isOpen=false;if(a.fn.bgiframe){k.bgiframe()}},_init:function(){if(this.options.autoOpen){this.open()}},destroy:function(){var g=this;if(g.overlay){g.overlay.destroy()}g.uiDialog.hide();g.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");g.uiDialog.remove();if(g.originalTitle){g.element.attr("title",g.originalTitle)}return g},widget:function(){return this.uiDialog},close:function(g){var i=this,h,j;if(false===i._trigger("beforeClose",g)){return}if(i.overlay){i.overlay.destroy()}i.uiDialog.unbind("keypress.ui-dialog");i._isOpen=false;if(i.options.hide){i.uiDialog.hide(i.options.hide,function(){i._trigger("close",g)})}else{i.uiDialog.hide();i._trigger("close",g)}a.ui.dialog.overlay.resize();if(i.options.modal){h=0;a(".ui-dialog").each(function(){if(this!==i.uiDialog[0]){j=a(this).css("z-index");if(!isNaN(j)){h=Math.max(h,j)}}});a.ui.dialog.maxZ=h}return i},isOpen:function(){return this._isOpen},moveToTop:function(h,g){var k=this,i=k.options,j;if((i.modal&&!h)||(!i.stack&&!i.modal)){return k._trigger("focus",g)}if(i.zIndex>a.ui.dialog.maxZ){a.ui.dialog.maxZ=i.zIndex}if(k.overlay){a.ui.dialog.maxZ+=1;k.overlay.$el.css("z-index",a.ui.dialog.overlay.maxZ=a.ui.dialog.maxZ)}j={scrollTop:k.element.attr("scrollTop"),scrollLeft:k.element.attr("scrollLeft")};a.ui.dialog.maxZ+=1;k.uiDialog.css("z-index",a.ui.dialog.maxZ);k.element.attr(j);k._trigger("focus",g);return k},open:function(){if(this._isOpen){return}var h=this,g=h.options,i=h.uiDialog;h.overlay=g.modal?new a.ui.dialog.overlay(h):null;h._size();h._position(g.position);i.show(g.show);h.moveToTop(true);if(g.modal){i.bind("keypress.ui-dialog",function(j){if(j.keyCode!==a.ui.keyCode.TAB){return}var m=a(":tabbable",this),k=m.filter(":first"),l=m.filter(":last");if(j.target===l[0]&&!j.shiftKey){k.focus(1);return false}else{if(j.target===k[0]&&j.shiftKey){l.focus(1);return false}}})}a(h.element.find(":tabbable").get().concat(i.find(".ui-dialog-buttonpane :tabbable").get().concat(i.get()))).eq(0).focus();h._isOpen=true;h._trigger("open");return h},_createButtons:function(g){var i=this,h=false,k=a("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),j=a("<div></div>").addClass("ui-dialog-buttonset").appendTo(k);i.uiDialog.find(".ui-dialog-buttonpane").remove();if(typeof g==="object"&&g!==null){a.each(g,function(){return !(h=true)})}if(h){a.each(g,function(m,n){n=a.isFunction(n)?{click:n,text:m}:n;var l=a('<button type="button"></button>').click(function(){n.click.apply(i.element[0],arguments)}).appendTo(j);a.each(n,function(o,p){if(o==="click"){return}if(o in b){l[o](p)}else{l.attr(o,p)}});if(a.fn.button){l.button()}});k.appendTo(i.uiDialog)}},_makeDraggable:function(){var k=this,j=k.options,g=a(document),i;function h(l){return{position:l.position,offset:l.offset}}k.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(l,m){i=j.height==="auto"?"auto":a(this).height();a(this).height(a(this).height()).addClass("ui-dialog-dragging");k._trigger("dragStart",l,h(m))},drag:function(l,m){k._trigger("drag",l,h(m))},stop:function(l,m){j.position=[m.position.left-g.scrollLeft(),m.position.top-g.scrollTop()];a(this).removeClass("ui-dialog-dragging").height(i);k._trigger("dragStop",l,h(m));a.ui.dialog.overlay.resize()}})},_makeResizable:function(h){h=(h===f?this.options.resizable:h);var l=this,i=l.options,j=l.uiDialog.css("position"),k=(typeof h==="string"?h:"n,e,s,w,se,sw,ne,nw");function g(m){return{originalPosition:m.originalPosition,originalSize:m.originalSize,position:m.position,size:m.size}}l.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:l.element,maxWidth:i.maxWidth,maxHeight:i.maxHeight,minWidth:i.minWidth,minHeight:l._minHeight(),handles:k,start:function(m,n){a(this).addClass("ui-dialog-resizing");l._trigger("resizeStart",m,g(n))},resize:function(m,n){l._trigger("resize",m,g(n))},stop:function(m,n){a(this).removeClass("ui-dialog-resizing");i.height=a(this).height();i.width=a(this).width();l._trigger("resizeStop",m,g(n));a.ui.dialog.overlay.resize()}}).css("position",j).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var g=this.options;if(g.height==="auto"){return g.minHeight}else{return Math.min(g.minHeight,g.height)}},_position:function(j){var h=[],i=[0,0],g;if(j){if(typeof j==="string"||(typeof j==="object"&&"0" in j)){h=j.split?j.split(" "):[j[0],j[1]];if(h.length===1){h[1]=h[0]}a.each(["left","top"],function(k,l){if(+h[k]===h[k]){i[k]=h[k];h[k]=l}});j={my:h.join(" "),at:h.join(" "),offset:i.join(" ")}}j=a.extend({},a.ui.dialog.prototype.options.position,j)}else{j=a.ui.dialog.prototype.options.position}g=this.uiDialog.is(":visible");if(!g){this.uiDialog.show()}this.uiDialog.css({top:0,left:0}).position(a.extend({of:window},j));if(!g){this.uiDialog.hide()}},_setOptions:function(g){var j=this,h={},i=false;a.each(g,function(k,l){j._setOption(k,l);if(k in d){i=true}if(k in c){h[k]=l}});if(i){this._size()}if(this.uiDialog.is(":data(resizable)")){this.uiDialog.resizable("option",h)}},_setOption:function(i,l){var j=this,k=j.uiDialog;switch(i){case"beforeclose":i="beforeClose";break;case"buttons":j._createButtons(l);break;case"closeText":j.uiDialogTitlebarCloseText.text(""+l);break;case"dialogClass":k.removeClass(j.options.dialogClass).addClass(e+l);break;case"disabled":if(l){k.addClass("ui-dialog-disabled")}else{k.removeClass("ui-dialog-disabled")}break;case"draggable":var g=k.is(":data(draggable)");if(g&&!l){k.draggable("destroy")}if(!g&&l){j._makeDraggable()}break;case"position":j._position(l);break;case"resizable":var h=k.is(":data(resizable)");if(h&&!l){k.resizable("destroy")}if(h&&typeof l==="string"){k.resizable("option","handles",l)}if(!h&&l!==false){j._makeResizable(l)}break;case"title":a(".ui-dialog-title",j.uiDialogTitlebar).html(""+(l||"&#160;"));break}a.Widget.prototype._setOption.apply(j,arguments)},_size:function(){var k=this.options,j,i,h=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0});if(k.minWidth>k.width){k.width=k.minWidth}j=this.uiDialog.css({height:"auto",width:k.width}).height();i=Math.max(0,k.minHeight-j);if(k.height==="auto"){if(a.support.minHeight){this.element.css({minHeight:i,height:"auto"})}else{this.uiDialog.show();var g=this.element.css("height","auto").height();if(!h){this.uiDialog.hide()}this.element.height(Math.max(g,i))}}else{this.element.height(Math.max(k.height-j,0))}if(this.uiDialog.is(":data(resizable)")){this.uiDialog.resizable("option","minHeight",this._minHeight())}}});a.extend(a.ui.dialog,{version:"1.8.13",uuid:0,maxZ:0,getTitleId:function(g){var h=g.attr("id");if(!h){this.uuid+=1;h=this.uuid}return"ui-dialog-title-"+h},overlay:function(g){this.$el=a.ui.dialog.overlay.create(g)}});a.extend(a.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:a.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(g){return g+".dialog-overlay"}).join(" "),create:function(h){if(this.instances.length===0){setTimeout(function(){if(a.ui.dialog.overlay.instances.length){a(document).bind(a.ui.dialog.overlay.events,function(i){if(a(i.target).zIndex()<a.ui.dialog.overlay.maxZ){return false}})}},1);a(document).bind("keydown.dialog-overlay",function(i){if(h.options.closeOnEscape&&i.keyCode&&i.keyCode===a.ui.keyCode.ESCAPE){h.close(i);i.preventDefault()}});a(window).bind("resize.dialog-overlay",a.ui.dialog.overlay.resize)}var g=(this.oldInstances.pop()||a("<div></div>").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),height:this.height()});if(a.fn.bgiframe){g.bgiframe()}this.instances.push(g);return g},destroy:function(g){var h=a.inArray(g,this.instances);if(h!=-1){this.oldInstances.push(this.instances.splice(h,1)[0])}if(this.instances.length===0){a([document,window]).unbind(".dialog-overlay")}g.remove();var i=0;a.each(this.instances,function(){i=Math.max(i,this.css("z-index"))});this.maxZ=i},height:function(){var h,g;if(a.browser.msie&&a.browser.version<7){h=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);g=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);if(h<g){return a(window).height()+"px"}else{return h+"px"}}else{return a(document).height()+"px"}},width:function(){var h,g;if(a.browser.msie&&a.browser.version<7){h=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth);g=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);if(h<g){return a(window).width()+"px"}else{return h+"px"}}else{return a(document).width()+"px"}},resize:function(){var g=a([]);a.each(a.ui.dialog.overlay.instances,function(){g=g.add(this)});g.css({width:0,height:0}).css({width:a.ui.dialog.overlay.width(),height:a.ui.dialog.overlay.height()})}});a.extend(a.ui.dialog.overlay.prototype,{destroy:function(){a.ui.dialog.overlay.destroy(this.$el)}})}(jQuery));(function(c,a){var b={codec:function(e,d){return d?encodeURIComponent(e):decodeURIComponent(e)},addQueryString:function(e,d,f){e+=e.indexOf("?")===-1?"?":"&";e+=this.codec(d,true)+"="+this.codec(f,true);return e},getQueryString:function(d){var e=(location.href.length>0?location.search.substring(1):"");return this.getUrlValByName(e,d)},getUrlValByName:function(l,h,e){if(!e){l=l.toLowerCase()}var k=l.substr(l.indexOf("?")+1).split("&");var j={},f=[];for(var d=0,g=k.length;d<g;d++){f=k[d].split("=");if(f instanceof Array){j[b.codec(f[0],false)]=b.codec(f[1],false)}}return(typeof h==="string")?j[h]:j},isInRange:function(){if(arguments.length===3){try{var d=parseInt(arguments[0]),f=parseInt(arguments[1]);if(typeof arguments[2]==="boolean"){if(arguments[2]){return d>f}else{return d<f}}else{var g=parseInt(arguments[2]);return d>f&&d<g}}catch(h){return false}}return false},formatMoney:function(e,d){d=d||2;var f=parseFloat(e).toFixed(d);f=isNaN(f)?"0.00":f;return f},rndInRange:function(f,h,e){if(typeof f==="number"&&typeof h==="number"){var d=(e?(h-f+1):(h-f)),g=Math.random()*d+f;return e?Math.floor(g):g}else{jQuery.error("rndInRange方法异常：传入的参数必须为number类型。")}},operateClipboard:function(d,e){if(arguments.length===2){if(d.clipboardData){return d.clipboardData.setData("text/plain",e)}else{return c.clipboardData.setData("text",e)}}else{return(d.clipboardData||c.clipboardData).getData("text")}},throttle:function(e,d,f){clearTimeout(e.timeId);f=(typeof f!=="number"&&f<10)||200;e.timeId=setTimeout(function(){e.call(d)},f)},reg:{email:"/^((([a-z]|\d|[!#$%&'*+-/=?^_`{|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(.([a-z]|\d|[!#$%&'*+-/=?^_`{|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))).)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))).?$/i",url:"/^(https?|ftp)://(((([a-z]|\d|-|.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'()*+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]).(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]).(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]).(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))).)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))).?)(:\d*)?)(/((([a-z]|\d|-|.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'()*+,;=]|:|@)+(/(([a-z]|\d|-|.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'()*+,;=]|:|@)*)*)?)?(?((([a-z]|\d|-|.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'()*+,;=]|:|@)|[\uE000-\uF8FF]|/|?)*)?(#((([a-z]|\d|-|.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'()*+,;=]|:|@)|/|?)*)?$/i",number:"/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:.\d+)?$/",digits:"/^\d+$/",postalCode:"/^\d{6}$/",phone:"/^((\d{3,4})-{0,1}){0,1}(\d{7,8})$/",mobilePhone:"/^((13|15|18|14)\d{9})$/"}};b.simpleDialog=function(f,h){if($(".simple-dialog").length<1){$("body").append("<div class='simple-dialog'><div class='cancel-icon'></div><p class='msg'></p><p class='buttons'>    <a class='sure'></a><a class='cancel'></a></p><span class='simple-dialog-arrow'></span></div>")}var e=$(".simple-dialog");if(arguments.length===2||!e.data("isInit")){e.data("isInit",true);var d={sure:null,cancel:null,msg:"确定要执行此操作吗？",sureTxt:"确定",cancelTxt:"取消"};h=jQuery.extend({},d,h);e.find(".msg").text(h.msg);e.find(".sure").text(h.sureTxt).unbind().click(function(){if(h.sure instanceof Function){h.sure()}e.hide();return false});e.find(".cancel,.cancel-icon").unbind().click(function(){if(h.cancel instanceof Function){h.cancel()}e.hide();return false}).filter(".cancel").text(h.cancelTxt);e.css("position","static").show().data("height",e.outerHeight()+e.find(".arrow").height()).hide().css("position","absolute")}f=f||c.event;e.show();var g=$(f.currentTarget).offset(),j=g.top-e.data("height");var i=e.css({left:f.pageX+"px",top:j+"px"});if($.fn.bgiframe){i.bgiframe()}return i};b.dialog={alert:function(d){d.buttons=[{text:d.sureTxt||"确定",click:function(){if(typeof d.fn==="function"){d.fn()}$(this).dialog("close")}}];return b.dialog.custDialog(d)},confirm:function(d){d.buttons=[{text:d.sureTxt||"确定",click:function(){if(typeof d.fn==="function"){d.fn()}$(this).dialog("close")}},{text:d.cancelTxt||"取消",click:function(){$(this).dialog("close")},className:"close-button"}];return b.dialog.custDialog(d)},custDialog:function(e){e.msg=e.msg||"";e.minHeight="auto";var d=$("#v-dialog");if(d.length>0){d=d.empty().append(e.msg)}else{d=$("<div id='v-dialog' style='width: auto; height: auto; min-height: auto;'></div>").append(e.msg)}return d.dialog(e)}};jQuery.extend(Date.prototype,{isLeapYear:function(){return(0==this.getYear()%4&&((this.getYear()%100!=0)||(this.getYear()%400==0)))},format:function(d){var g=["日","一","二","三","四","五","六"];var f={"M+":this.getMonth()+1,"d+|D+":this.getDate(),"h+|H+":this.getHours(),"w|W":g[this.getDay()],"m+":this.getMinutes(),"s+":this.getSeconds()};if(/(y+|Y+)/.test(d)){d=d.replace(RegExp.$1,this.getFullYear().toString().substr(4-RegExp.$1.length))}for(var e in f){if(new RegExp("("+e+")").test(d)){d=d.replace(RegExp.$1,RegExp.$1.length==1?f[e]:("00"+f[e]).substr((""+f[e]).length))}}return d}});jQuery.extend(String.prototype,{sub:function(f){var g=/[^\x00-\xff]/g;if(this.replace(g,"mm").length<=f){return this}var e=Math.floor(f/2);for(var d=e;d<this.length;d++){if(this.substr(0,d).replace(g,"mm").length>=f){return this.substr(0,d)+"..."}}return this}});c.vancl=c.vc=c.v=b})(window);Number.prototype.format=function(c,g,d){var h=this+"",f=/^(-?)(\d+)/,j,k;if(c!=null){h=this.toFixed(c)}if(g&&(j=f.exec(h))){for(var b=j[2].split(""),e=b.length-3;e>0;e-=3){b.splice(e,0,g)}h=h.replace(f,j[1]+b.join(""))}if(d){h=h.replace(/\./,d)}return h};if(typeof Number.prototype.toFixed!="function"||(0.9).toFixed()=="0"||(0.007).toFixed(2)=="0.00"){Number.prototype.toFixed=function(e){if(isNaN(e*=1)||e<0||e>20){e=0}var i="",j=this.valueOf(),h="";if(this<0){i="-";j*=-1}if(j>=Math.pow(10,21)){h=j.toString()}else{h=Math.round(Math.pow(10,e)*j).toString();if(e!=0){var g=h.length;if(g<=e){var l="00000000000000000000".substring(0,e+1-g);h=l+h;g=e+1}var c=h.substring(0,g-e);var d=h.substring(g-e);h=c+"."+d}}if(h=="0"){i=""}return i+h}}function stringBuilder(){this._strings=new Array();for(var a=0,b=arguments.length;a<b;a++){this._strings.push(arguments[a])}}stringBuilder.prototype={constructor:stringBuilder,append:function(a){return this._strings.push(a)},toString:function(){return this._strings.join("")}};